#9F2229#9F2229
#9F2229 is a mid, vivid red. Relative luminance 0.087; OKLCH L 46.2% C 0.160 H 23.6°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2229 |
|---|---|
| RGB | rgb(159, 34, 41) |
| HSL | hsl(357, 65%, 38%) |
| HSV | hsv(357, 79%, 62%) |
| CMYK | cmyk(0%, 78.6%, 74.2%, 37.6%) |
| CIE-LAB | lab(35.36, 50.46, 28.35) |
| CIE-LCH | lch(35.36, 57.88, 29.33°) |
| OKLab | oklab(46.23% 0.147 0.0642) |
| OKLCH | oklch(46.23% 0.16 23.6) |
| XYZ | xyz(15.2721, 8.6775, 2.9682) |
| Luminance | 0.0867 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.26
Carmine
#9D0216
ΔE00 4.06
Firebrick
#B22222
ΔE00 4.98
Lipstick Red
#C0022F
ΔE00 6.04
Rouge
#AB1239
ΔE00 6.04
Crimson (survey)
#8C000F
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2229 #229F98
analogous
#9F2267 #9F2229 #9F5922
triadic
#9F2229 #299F22 #22299F
tetradic
#9F2229 #679F22 #229F98 #59229F
square
#9F2229 #679F22 #229F98 #59229F
split-complementary
#9F2229 #229F59 #22679F
monochromatic
#3A0C0F #6D171C #9F2229 #D12D36 #DD5F66
Accessibility & contrast
On white
7.68
#9F2229 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#9F2229 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2229
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2229 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2229 | 1.00 | 7.68 | 2.73 | 7.68 |
| #FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484228
Deuteranopia (green-blind)
#675D25
Tritanopia (blue-blind)
#AF0026
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9f2229; /* rgb */ color: rgb(159, 34, 41); /* oklch */ color: oklch(46.2% 0.160 23.6);
Tailwind
colors: {
custom: {
50: '#c46963',
500: '#9f2229',
950: '#000000',
},
}SCSS
$custom: #9f2229; $custom-light: #c46963; $custom-dark: #000000;
JSON
{
"hex": "#9f2229",
"rgb": {
"r": 159,
"g": 34,
"b": 41
},
"hsl": {
"h": 356.64,
"s": 64.767,
"l": 37.843
},
"oklch": {
"l": 0.46228,
"c": 0.16046,
"h": 23.6
},
"luminance": 0.08675
}Semantic roles & 50–950 ramp
primary
#9F2229
secondary
#5BC1BC
accent
#E8DE40
background
#FDF6F5
surface
#FAEBEA
border
#D3C6C6
text
#140705
muted
#837A79