#9D212F#9D212F
#9D212F is a mid, vivid red. Relative luminance 0.085; OKLCH L 45.9% C 0.159 H 20.6°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #9D212F |
|---|---|
| RGB | rgb(157, 33, 47) |
| HSL | hsl(353, 65%, 37%) |
| HSV | hsv(353, 79%, 62%) |
| CMYK | cmyk(0%, 79%, 70.1%, 38.4%) |
| CIE-LAB | lab(34.93, 50.46, 24.01) |
| CIE-LCH | lch(34.93, 55.88, 25.45°) |
| OKLab | oklab(45.87% 0.1487 0.0559) |
| OKLCH | oklch(45.87% 0.159 20.6) |
| XYZ | xyz(14.9633, 8.4634, 3.5345) |
| Luminance | 0.0846 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 4.15
Brown
#A52A2A
ΔE00 4.24
Carmine
#9D0216
ΔE00 5.83
Lipstick Red
#C0022F
ΔE00 6.37
Cranberry
#9E003A
ΔE00 6.47
Rose Red
#BE013C
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D212F #219D8F
analogous
#9D216D #9D212F #9D5121
triadic
#9D212F #2F9D21 #212F9D
tetradic
#9D212F #6D9D21 #219D8F #51219D
square
#9D212F #6D9D21 #219D8F #51219D
split-complementary
#9D212F #219D51 #216D9D
monochromatic
#380C11 #6A1620 #9D212F #D02C3E #DD5C6A
Accessibility & contrast
On white
7.80
#9D212F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#9D212F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D212F
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D212F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D212F | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#46412E
Deuteranopia (green-blind)
#655C2B
Tritanopia (blue-blind)
#AD0027
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9d212f; /* rgb */ color: rgb(157, 33, 47); /* oklch */ color: oklch(45.9% 0.159 20.6);
Tailwind
colors: {
custom: {
50: '#c26867',
500: '#9d212f',
950: '#000000',
},
}SCSS
$custom: #9d212f; $custom-light: #c26867; $custom-dark: #000000;
JSON
{
"hex": "#9d212f",
"rgb": {
"r": 157,
"g": 33,
"b": 47
},
"hsl": {
"h": 353.226,
"s": 65.263,
"l": 37.255
},
"oklch": {
"l": 0.45869,
"c": 0.15883,
"h": 20.6
},
"luminance": 0.08461
}Semantic roles & 50–950 ramp
primary
#9D212F
secondary
#59C1B5
accent
#E8D540
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140706
muted
#827A7A