#9F1F27#9F1F27
#9F1F27 is a mid, vivid red. Relative luminance 0.085; OKLCH L 46.0% C 0.163 H 23.7°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1F27 |
|---|---|
| RGB | rgb(159, 31, 39) |
| HSL | hsl(356, 67%, 37%) |
| HSV | hsv(356, 81%, 62%) |
| CMYK | cmyk(0%, 80.5%, 75.5%, 37.6%) |
| CIE-LAB | lab(35.00, 51.30, 29.17) |
| CIE-LCH | lch(35.00, 59.01, 29.63°) |
| OKLab | oklab(45.96% 0.1492 0.0656) |
| OKLCH | oklch(45.96% 0.163 23.7) |
| XYZ | xyz(15.1561, 8.4998, 2.7617) |
| Luminance | 0.0850 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.42
Carmine
#9D0216
ΔE00 3.62
Firebrick
#B22222
ΔE00 4.93
Crimson (survey)
#8C000F
ΔE00 6.04
Lipstick Red
#C0022F
ΔE00 6.13
Rouge
#AB1239
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1F27 #1F9F97
analogous
#9F1F67 #9F1F27 #9F571F
triadic
#9F1F27 #279F1F #1F279F
tetradic
#9F1F27 #679F1F #1F9F97 #571F9F
square
#9F1F27 #679F1F #1F9F97 #571F9F
split-complementary
#9F1F27 #1F9F57 #1F679F
monochromatic
#390B0E #6C151A #9F1F27 #D22934 #DF5A62
Accessibility & contrast
On white
7.78
#9F1F27 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#9F1F27 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1F27
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1F27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1F27 | 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)
#474126
Deuteranopia (green-blind)
#675C22
Tritanopia (blue-blind)
#AF0024
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9f1f27; /* rgb */ color: rgb(159, 31, 39); /* oklch */ color: oklch(46.0% 0.163 23.7);
Tailwind
colors: {
custom: {
50: '#c46861',
500: '#9f1f27',
950: '#000000',
},
}SCSS
$custom: #9f1f27; $custom-light: #c46861; $custom-dark: #000000;
JSON
{
"hex": "#9f1f27",
"rgb": {
"r": 159,
"g": 31,
"b": 39
},
"hsl": {
"h": 356.25,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.45958,
"c": 0.163,
"h": 23.7
},
"luminance": 0.08497
}Semantic roles & 50–950 ramp
primary
#9F1F27
secondary
#57C3BC
accent
#EADF3E
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140705
muted
#837A79