#9D1F27#9D1F27
#9D1F27 is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.6% C 0.161 H 23.6°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1F27 |
|---|---|
| RGB | rgb(157, 31, 39) |
| HSL | hsl(356, 67%, 37%) |
| HSV | hsv(356, 80%, 62%) |
| CMYK | cmyk(0%, 80.3%, 75.2%, 38.4%) |
| CIE-LAB | lab(34.59, 50.69, 28.60) |
| CIE-LCH | lch(34.59, 58.20, 29.43°) |
| OKLab | oklab(45.58% 0.1476 0.0644) |
| OKLCH | oklch(45.58% 0.161 23.6) |
| XYZ | xyz(14.7626, 8.2969, 2.7432) |
| Luminance | 0.0829 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.76
Carmine
#9D0216
ΔE00 3.63
Firebrick
#B22222
ΔE00 5.33
Crimson (survey)
#8C000F
ΔE00 5.85
Rouge
#AB1239
ΔE00 6.25
Lipstick Red
#C0022F
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1F27 #1F9D95
analogous
#9D1F66 #9D1F27 #9D561F
triadic
#9D1F27 #279D1F #1F279D
tetradic
#9D1F27 #669D1F #1F9D95 #561F9D
square
#9D1F27 #669D1F #1F9D95 #561F9D
split-complementary
#9D1F27 #1F9D56 #1F669D
monochromatic
#370B0E #6A151A #9D1F27 #D02934 #DE5861
Accessibility & contrast
On white
7.90
#9D1F27 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#9D1F27 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1F27
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1F27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1F27 | 1.00 | 7.90 | 2.66 | 7.90 |
| #FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464026
Deuteranopia (green-blind)
#655B22
Tritanopia (blue-blind)
#AD0024
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9d1f27; /* rgb */ color: rgb(157, 31, 39); /* oklch */ color: oklch(45.6% 0.161 23.6);
Tailwind
colors: {
custom: {
50: '#c26761',
500: '#9d1f27',
950: '#000000',
},
}SCSS
$custom: #9d1f27; $custom-light: #c26761; $custom-dark: #000000;
JSON
{
"hex": "#9d1f27",
"rgb": {
"r": 157,
"g": 31,
"b": 39
},
"hsl": {
"h": 356.19,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.45582,
"c": 0.16104,
"h": 23.6
},
"luminance": 0.08295
}Semantic roles & 50–950 ramp
primary
#9D1F27
secondary
#56C2BB
accent
#EADF3E
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140705
muted
#837A79