#9F1D2C#9F1D2C
#9F1D2C is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.9% C 0.164 H 21.3°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1D2C |
|---|---|
| RGB | rgb(159, 29, 44) |
| HSL | hsl(353, 69%, 37%) |
| HSV | hsv(353, 82%, 62%) |
| CMYK | cmyk(0%, 81.8%, 72.3%, 37.6%) |
| CIE-LAB | lab(34.87, 52.09, 25.92) |
| CIE-LCH | lch(34.87, 58.18, 26.46°) |
| OKLab | oklab(45.88% 0.1529 0.0595) |
| OKLCH | oklch(45.88% 0.164 21.3) |
| XYZ | xyz(15.1938, 8.4339, 3.2103) |
| Luminance | 0.0843 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.76
Rouge
#AB1239
ΔE00 4.52
Carmine
#9D0216
ΔE00 5.07
Lipstick Red
#C0022F
ΔE00 5.97
Firebrick
#B22222
ΔE00 6.35
Rose Red
#BE013C
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1D2C #1D9F90
analogous
#9F1D6D #9F1D2C #9F4F1D
triadic
#9F1D2C #2C9F1D #1D2C9F
tetradic
#9F1D2C #6D9F1D #1D9F90 #4F1D9F
square
#9F1D2C #6D9F1D #1D9F90 #4F1D9F
split-complementary
#9F1D2C #1D9F4F #1D6D9F
monochromatic
#370A0F #6B141E #9F1D2C #D3263A #E05666
Accessibility & contrast
On white
7.82
#9F1D2C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#9F1D2C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1D2C
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1D2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1D2C | 1.00 | 7.82 | 2.69 | 7.82 |
| #FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#46402B
Deuteranopia (green-blind)
#665C28
Tritanopia (blue-blind)
#AF0024
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9f1d2c; /* rgb */ color: rgb(159, 29, 44); /* oklch */ color: oklch(45.9% 0.164 21.3);
Tailwind
colors: {
custom: {
50: '#c46765',
500: '#9f1d2c',
950: '#000000',
},
}SCSS
$custom: #9f1d2c; $custom-light: #c46765; $custom-dark: #000000;
JSON
{
"hex": "#9f1d2c",
"rgb": {
"r": 159,
"g": 29,
"b": 44
},
"hsl": {
"h": 353.077,
"s": 69.149,
"l": 36.863
},
"oklch": {
"l": 0.45882,
"c": 0.1641,
"h": 21.3
},
"luminance": 0.08432
}Semantic roles & 50–950 ramp
primary
#9F1D2C
secondary
#54C4B7
accent
#ECD83C
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140705
muted
#837A7A