HSL(12, 90%, 42%)
Vivid Red — Red color
Adjust Color
Color Information
Color Name
Vivid Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(12,90%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(12, 90%, 42%) | color: hsl(12, 90%, 42%) | |
| HEX | #CB310B | color: #CB310B | |
| RGB | rgb(203, 49, 11) | color: rgb(203, 49, 11) | |
| CMYK | cmyk(0%, 76%, 95%, 20%) | — | |
| HSV | hsv(12, 95%, 80%) | — | |
| HWB | hwb(12 4% 20%) | color: hwb(12 4% 20%) | |
| OKLCH | oklch(0.5528 0.1952 33.54) | color: oklch(0.5528 0.1952 33.54) | |
| Lab | lab(45.53 58.5 54.77) | color: lab(45.53 58.5 54.77) | |
| LCH | lch(45.53 80.14 43.11) | color: lch(45.53 80.14 43.11) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: white
Color Blindness Simulation
Protanopia (Red-blind)
#888714 — rgb(136, 135, 20)
Deuteranopia (Green-blind)
#919D16 — rgb(145, 157, 22)
Tritanopia (Blue-blind)
#C31B1D — rgb(195, 27, 29)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(12, 90%, 42%);
text
color: hsl(12, 90%, 42%);
border
border: 2px solid hsl(12, 90%, 42%);
gradient light
background: linear-gradient(to right, hsl(12, 90%, 62%), hsl(12, 90%, 42%));
gradient dark
background: linear-gradient(to right, hsl(12, 90%, 42%), hsl(12, 90%, 22%))
hex
background-color: #CB310B;
tailwind
bg-[hsl(12,90%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(12, 90%, 42%, 0.4);
css variable
--color-primary: hsl(12, 90%, 42%);
Related Colors
Use Cases for Vivid Red
Frequently Asked Questions
What are all the color codes for HSL(12, 90%, 42%)?
HEX: #CB310B | RGB: rgb(203, 49, 11) | CMYK: 0%, 76%, 95%, 20% | HSV: 12°, 95%, 80%. Copy any format from the conversion table above.
What colors go well with #CB310B?
The complementary color is HSL(192, 90%, 42%). For a triadic harmony, use hues 12°, 132°, and 252°. For analogous combinations, try hues 342° and 42°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(12, 90%, 42%) in CSS?
As HSL: color: hsl(12, 90%, 42%); — As HEX: color: #CB310B; — As RGB: color: rgb(203, 49, 11); — Tailwind CSS: bg-[hsl(12,90%,42%)] — CSS variable: --color-primary: hsl(12, 90%, 42%);