#9F1D1D#9F1D1D
#9F1D1D is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.7% C 0.166 H 26.8°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1D1D |
|---|---|
| RGB | rgb(159, 29, 29) |
| HSL | hsl(0, 69%, 37%) |
| HSV | hsv(0, 82%, 62%) |
| CMYK | cmyk(0%, 81.8%, 81.8%, 37.6%) |
| CIE-LAB | lab(34.68, 51.51, 34.75) |
| CIE-LCH | lch(34.68, 62.13, 34.01°) |
| OKLab | oklab(45.68% 0.1477 0.0747) |
| OKLCH | oklch(45.68% 0.166 26.8) |
| XYZ | xyz(14.9611, 8.3408, 1.9843) |
| Luminance | 0.0834 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 2.24
Brown
#A52A2A
ΔE00 2.99
Firebrick
#B22222
ΔE00 3.98
Darkish Red
#A90308
ΔE00 4.13
Brownish Red
#9E3623
ΔE00 4.76
Brick
#A03623
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1D1D #1D9F9F
analogous
#9F1D5E #9F1D1D #9F5E1D
triadic
#9F1D1D #1D9F1D #1D1D9F
tetradic
#9F1D1D #5E9F1D #1D9F9F #5E1D9F
square
#9F1D1D #5E9F1D #1D9F9F #5E1D9F
split-complementary
#9F1D1D #1D9F5E #1D5E9F
monochromatic
#370A0A #6B1414 #9F1D1D #D32626 #E05656
Accessibility & contrast
On white
7.87
#9F1D1D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#9F1D1D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1D1D
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1D1D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1D1D | 1.00 | 7.87 | 2.67 | 7.87 |
| #FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#47401B
Deuteranopia (green-blind)
#675C17
Tritanopia (blue-blind)
#B0001F
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9f1d1d; /* rgb */ color: rgb(159, 29, 29); /* oklch */ color: oklch(45.7% 0.166 26.8);
Tailwind
colors: {
custom: {
50: '#c5675a',
500: '#9f1d1d',
950: '#000000',
},
}SCSS
$custom: #9f1d1d; $custom-light: #c5675a; $custom-dark: #000000;
JSON
{
"hex": "#9f1d1d",
"rgb": {
"r": 159,
"g": 29,
"b": 29
},
"hsl": {
"h": 0,
"s": 69.149,
"l": 36.863
},
"oklch": {
"l": 0.45683,
"c": 0.16552,
"h": 26.8
},
"luminance": 0.08338
}Semantic roles & 50–950 ramp
primary
#9F1D1D
secondary
#54C4C4
accent
#ECEC3C
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150704
muted
#837A79