#9D1F3D#9D1F3D
#9D1F3D is a mid, vivid red. Relative luminance 0.085; OKLCH L 46.0% C 0.161 H 13.4°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1F3D |
|---|---|
| RGB | rgb(157, 31, 61) |
| HSL | hsl(346, 67%, 37%) |
| HSV | hsv(346, 80%, 62%) |
| CMYK | cmyk(0%, 80.3%, 61.1%, 38.4%) |
| CIE-LAB | lab(34.98, 51.89, 15.10) |
| CIE-LCH | lch(34.98, 54.05, 16.22°) |
| OKLab | oklab(45.99% 0.1562 0.0371) |
| OKLCH | oklch(45.99% 0.161 13.4) |
| XYZ | xyz(15.2385, 8.4873, 5.2498) |
| Luminance | 0.0848 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cranberry
#9E003A
ΔE00 2.45
Rouge
#AB1239
ΔE00 3.13
Raspberry (survey)
#B00149
ΔE00 4.64
Purplish Red
#B0054B
ΔE00 4.95
Red Wine
#8C0034
ΔE00 5.02
Purple Red
#990147
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1F3D #1F9D7F
analogous
#9D1F7C #9D1F3D #9D401F
triadic
#9D1F3D #3D9D1F #1F3D9D
tetradic
#9D1F3D #7C9D1F #1F9D7F #401F9D
square
#9D1F3D #7C9D1F #1F9D7F #401F9D
split-complementary
#9D1F3D #1F9D40 #1F7C9D
monochromatic
#370B15 #6A1529 #9D1F3D #D02951 #DE5878
Accessibility & contrast
On white
7.79
#9D1F3D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#9D1F3D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1F3D
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1F3D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1F3D | 1.00 | 7.79 | 2.70 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#43423D
Deuteranopia (green-blind)
#635C3A
Tritanopia (blue-blind)
#AC002C
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9d1f3d; /* rgb */ color: rgb(157, 31, 61); /* oklch */ color: oklch(46.0% 0.161 13.4);
Tailwind
colors: {
custom: {
50: '#c16872',
500: '#9d1f3d',
950: '#000000',
},
}SCSS
$custom: #9d1f3d; $custom-light: #c16872; $custom-dark: #000000;
JSON
{
"hex": "#9d1f3d",
"rgb": {
"r": 157,
"g": 31,
"b": 61
},
"hsl": {
"h": 345.714,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.4599,
"c": 0.16059,
"h": 13.4
},
"luminance": 0.08485
}Semantic roles & 50–950 ramp
primary
#9D1F3D
secondary
#56C2A8
accent
#EAC13E
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140707
muted
#827A7A