#9F1D2D#9F1D2D
#9F1D2D is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.9% C 0.164 H 20.8°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1D2D |
|---|---|
| RGB | rgb(159, 29, 45) |
| HSL | hsl(353, 69%, 37%) |
| HSV | hsv(353, 82%, 62%) |
| CMYK | cmyk(0%, 81.8%, 71.7%, 37.6%) |
| CIE-LAB | lab(34.89, 52.14, 25.31) |
| CIE-LCH | lch(34.89, 57.96, 25.90°) |
| OKLab | oklab(45.9% 0.1533 0.0584) |
| OKLCH | oklch(45.9% 0.164 20.8) |
| XYZ | xyz(15.2129, 8.4415, 3.3105) |
| Luminance | 0.0844 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 4.02
Rouge
#AB1239
ΔE00 4.23
Carmine
#9D0216
ΔE00 5.37
Lipstick Red
#C0022F
ΔE00 6.00
Rose Red
#BE013C
ΔE00 6.44
Firebrick
#B22222
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1D2D #1D9F8F
analogous
#9F1D6E #9F1D2D #9F4E1D
triadic
#9F1D2D #2D9F1D #1D2D9F
tetradic
#9F1D2D #6E9F1D #1D9F8F #4E1D9F
square
#9F1D2D #6E9F1D #1D9F8F #4E1D9F
split-complementary
#9F1D2D #1D9F4E #1D6E9F
monochromatic
#370A10 #6B141E #9F1D2D #D3263C #E05667
Accessibility & contrast
On white
7.81
#9F1D2D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#9F1D2D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1D2D
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1D2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1D2D | 1.00 | 7.81 | 2.69 | 7.81 |
| #FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#45402C
Deuteranopia (green-blind)
#665C29
Tritanopia (blue-blind)
#AF0025
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9f1d2d; /* rgb */ color: rgb(159, 29, 45); /* oklch */ color: oklch(45.9% 0.164 20.8);
Tailwind
colors: {
custom: {
50: '#c46765',
500: '#9f1d2d',
950: '#000000',
},
}SCSS
$custom: #9f1d2d; $custom-light: #c46765; $custom-dark: #000000;
JSON
{
"hex": "#9f1d2d",
"rgb": {
"r": 159,
"g": 29,
"b": 45
},
"hsl": {
"h": 352.615,
"s": 69.149,
"l": 36.863
},
"oklch": {
"l": 0.45899,
"c": 0.16404,
"h": 20.8
},
"luminance": 0.08439
}Semantic roles & 50–950 ramp
primary
#9F1D2D
secondary
#54C4B6
accent
#ECD63C
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140705
muted
#837A7A