#9D222C#9D222C
#9D222C is a mid, vivid red. Relative luminance 0.085; OKLCH L 45.9% C 0.158 H 22.2°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #9D222C |
|---|---|
| RGB | rgb(157, 34, 44) |
| HSL | hsl(355, 64%, 37%) |
| HSV | hsv(355, 78%, 62%) |
| CMYK | cmyk(0%, 78.3%, 72%, 38.4%) |
| CIE-LAB | lab(35.00, 49.99, 25.97) |
| CIE-LCH | lch(35.00, 56.33, 27.46°) |
| OKLab | oklab(45.9% 0.1465 0.0598) |
| OKLCH | oklch(45.9% 0.158 22.2) |
| XYZ | xyz(14.9330, 8.4963, 3.2360) |
| Luminance | 0.0849 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.27
Carmine
#9D0216
ΔE00 4.88
Rouge
#AB1239
ΔE00 5.13
Firebrick
#B22222
ΔE00 6.06
Lipstick Red
#C0022F
ΔE00 6.27
Crimson (survey)
#8C000F
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D222C #229D93
analogous
#9D2269 #9D222C #9D5622
triadic
#9D222C #2C9D22 #222C9D
tetradic
#9D222C #699D22 #229D93 #56229D
square
#9D222C #699D22 #229D93 #56229D
split-complementary
#9D222C #229D56 #22699D
monochromatic
#380C10 #6B171E #9D222C #CF2D3A #DC5D68
Accessibility & contrast
On white
7.78
#9D222C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#9D222C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D222C
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D222C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D222C | 1.00 | 7.78 | 2.70 | 7.78 |
| #FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#47422B
Deuteranopia (green-blind)
#665C28
Tritanopia (blue-blind)
#AD0027
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9d222c; /* rgb */ color: rgb(157, 34, 44); /* oklch */ color: oklch(45.9% 0.158 22.2);
Tailwind
colors: {
custom: {
50: '#c26965',
500: '#9d222c',
950: '#000000',
},
}SCSS
$custom: #9d222c; $custom-light: #c26965; $custom-dark: #000000;
JSON
{
"hex": "#9d222c",
"rgb": {
"r": 157,
"g": 34,
"b": 44
},
"hsl": {
"h": 355.122,
"s": 64.398,
"l": 37.451
},
"oklch": {
"l": 0.45903,
"c": 0.15821,
"h": 22.2
},
"luminance": 0.08494
}Semantic roles & 50–950 ramp
primary
#9D222C
secondary
#5AC1B8
accent
#E7DA40
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140705
muted
#827A7A