HSL(12, 77%, 22%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(12,77%,22%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(12, 77%, 22%) | color: hsl(12, 77%, 22%) | |
| HEX | #631E0D | color: #631E0D | |
| RGB | rgb(99, 30, 13) | color: rgb(99, 30, 13) | |
| CMYK | cmyk(0%, 70%, 87%, 61%) | — | |
| HSV | hsv(12, 87%, 39%) | — | |
| HWB | hwb(12 5% 61%) | color: hwb(12 5% 61%) | |
| OKLCH | oklch(0.342 0.1034 34.81) | color: oklch(0.342 0.1034 34.81) | |
| Lab | lab(22.34 30.25 27.39) | color: lab(22.34 30.25 27.39) | |
| LCH | lch(22.34 40.81 42.16) | color: lch(22.34 40.81 42.16) |
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)
#454511 — rgb(69, 69, 17)
Deuteranopia (Green-blind)
#494E12 — rgb(73, 78, 18)
Tritanopia (Blue-blind)
#601415 — rgb(96, 20, 21)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(12, 77%, 22%);
text
color: hsl(12, 77%, 22%);
border
border: 2px solid hsl(12, 77%, 22%);
gradient light
background: linear-gradient(to right, hsl(12, 77%, 42%), hsl(12, 77%, 22%));
gradient dark
background: linear-gradient(to right, hsl(12, 77%, 22%), hsl(12, 77%, 2%))
hex
background-color: #631E0D;
tailwind
bg-[hsl(12,77%,22%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(12, 77%, 22%, 0.4);
css variable
--color-primary: hsl(12, 77%, 22%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(12, 77%, 22%)?
HEX: #631E0D | RGB: rgb(99, 30, 13) | CMYK: 0%, 70%, 87%, 61% | HSV: 12°, 87%, 39%. Copy any format from the conversion table above.
What colors go well with #631E0D?
The complementary color is HSL(192, 77%, 22%). 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, 77%, 22%) in CSS?
As HSL: color: hsl(12, 77%, 22%); — As HEX: color: #631E0D; — As RGB: color: rgb(99, 30, 13); — Tailwind CSS: bg-[hsl(12,77%,22%)] — CSS variable: --color-primary: hsl(12, 77%, 22%);