#9F2831#9F2831
#9F2831 is a mid, vivid red. Relative luminance 0.091; OKLCH L 46.9% C 0.155 H 21.6°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2831 |
|---|---|
| RGB | rgb(159, 40, 49) |
| HSL | hsl(355, 60%, 39%) |
| HSV | hsv(355, 75%, 62%) |
| CMYK | cmyk(0%, 74.8%, 69.2%, 37.6%) |
| CIE-LAB | lab(36.20, 48.83, 24.40) |
| CIE-LCH | lch(36.20, 54.59, 26.55°) |
| OKLab | oklab(46.89% 0.1437 0.057) |
| OKLCH | oklch(46.89% 0.155 21.6) |
| XYZ | xyz(15.6130, 9.1126, 3.8419) |
| Luminance | 0.0911 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.30
Rouge
#AB1239
ΔE00 4.61
Lipstick Red
#C0022F
ΔE00 5.93
Carmine
#9D0216
ΔE00 5.97
Firebrick
#B22222
ΔE00 6.18
Rose Red
#BE013C
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2831 #289F96
analogous
#9F286D #9F2831 #9F5B28
triadic
#9F2831 #319F28 #28319F
tetradic
#9F2831 #6D9F28 #289F96 #5B289F
square
#9F2831 #6D9F28 #289F96 #5B289F
split-complementary
#9F2831 #289F5B #286D9F
monochromatic
#3D0F13 #6E1C22 #9F2831 #CD3743 #D96871
Accessibility & contrast
On white
7.44
#9F2831 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#9F2831 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2831
7.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2831 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2831 | 1.00 | 7.44 | 2.82 | 7.44 |
| #FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4530
Deuteranopia (green-blind)
#685E2D
Tritanopia (blue-blind)
#AF002C
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #9f2831; /* rgb */ color: rgb(159, 40, 49); /* oklch */ color: oklch(46.9% 0.155 21.6);
Tailwind
colors: {
custom: {
50: '#c36c69',
500: '#9f2831',
950: '#000000',
},
}SCSS
$custom: #9f2831; $custom-light: #c36c69; $custom-dark: #000000;
JSON
{
"hex": "#9f2831",
"rgb": {
"r": 159,
"g": 40,
"b": 49
},
"hsl": {
"h": 355.462,
"s": 59.799,
"l": 39.02
},
"oklch": {
"l": 0.46894,
"c": 0.15455,
"h": 21.6
},
"luminance": 0.0911
}Semantic roles & 50–950 ramp
primary
#9F2831
secondary
#64BFB8
accent
#E3D745
background
#FCF6F6
surface
#F9ECEB
border
#D2C7C6
text
#140706
muted
#827A7A