#9F1D2B#9F1D2B
#9F1D2B is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.9% C 0.164 H 21.7°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1D2B |
|---|---|
| RGB | rgb(159, 29, 43) |
| HSL | hsl(354, 69%, 37%) |
| HSV | hsv(354, 82%, 62%) |
| CMYK | cmyk(0%, 81.8%, 73%, 37.6%) |
| CIE-LAB | lab(34.86, 52.04, 26.53) |
| CIE-LCH | lch(34.86, 58.42, 27.01°) |
| OKLab | oklab(45.87% 0.1525 0.0607) |
| OKLCH | oklch(45.87% 0.164 21.7) |
| XYZ | xyz(15.1753, 8.4265, 3.1125) |
| Luminance | 0.0842 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.51
Carmine
#9D0216
ΔE00 4.77
Rouge
#AB1239
ΔE00 4.82
Lipstick Red
#C0022F
ΔE00 5.96
Firebrick
#B22222
ΔE00 6.10
Rose Red
#BE013C
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1D2B #1D9F91
analogous
#9F1D6C #9F1D2B #9F501D
triadic
#9F1D2B #2B9F1D #1D2B9F
tetradic
#9F1D2B #6C9F1D #1D9F91 #501D9F
square
#9F1D2B #6C9F1D #1D9F91 #501D9F
split-complementary
#9F1D2B #1D9F50 #1D6C9F
monochromatic
#370A0F #6B141D #9F1D2B #D32639 #E05665
Accessibility & contrast
On white
7.82
#9F1D2B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#9F1D2B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1D2B
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1D2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1D2B | 1.00 | 7.82 | 2.68 | 7.82 |
| #FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#46402A
Deuteranopia (green-blind)
#665C27
Tritanopia (blue-blind)
#AF0024
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9f1d2b; /* rgb */ color: rgb(159, 29, 43); /* oklch */ color: oklch(45.9% 0.164 21.7);
Tailwind
colors: {
custom: {
50: '#c46764',
500: '#9f1d2b',
950: '#000000',
},
}SCSS
$custom: #9f1d2b; $custom-light: #c46764; $custom-dark: #000000;
JSON
{
"hex": "#9f1d2b",
"rgb": {
"r": 159,
"g": 29,
"b": 43
},
"hsl": {
"h": 353.538,
"s": 69.149,
"l": 36.863
},
"oklch": {
"l": 0.45867,
"c": 0.16416,
"h": 21.7
},
"luminance": 0.08424
}Semantic roles & 50–950 ramp
primary
#9F1D2B
secondary
#54C4B8
accent
#ECD93C
background
#FDF6F5
surface
#FAEBEA
border
#D3C6C6
text
#140705
muted
#837A79