#9D1F30#9D1F30
#9D1F30 is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.7% C 0.160 H 19.7°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1F30 |
|---|---|
| RGB | rgb(157, 31, 48) |
| HSL | hsl(352, 67%, 37%) |
| HSV | hsv(352, 80%, 62%) |
| CMYK | cmyk(0%, 80.3%, 69.4%, 38.4%) |
| CIE-LAB | lab(34.73, 51.12, 23.13) |
| CIE-LCH | lch(34.73, 56.11, 24.35°) |
| OKLab | oklab(45.73% 0.151 0.0541) |
| OKLCH | oklch(45.73% 0.16 19.7) |
| XYZ | xyz(14.9298, 8.3638, 3.6240) |
| Luminance | 0.0836 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.68
Brown
#A52A2A
ΔE00 4.85
Cranberry
#9E003A
ΔE00 5.83
Carmine
#9D0216
ΔE00 6.28
Rose Red
#BE013C
ΔE00 6.33
Lipstick Red
#C0022F
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1F30 #1F9D8C
analogous
#9D1F6F #9D1F30 #9D4D1F
triadic
#9D1F30 #309D1F #1F309D
tetradic
#9D1F30 #6F9D1F #1F9D8C #4D1F9D
square
#9D1F30 #6F9D1F #1F9D8C #4D1F9D
split-complementary
#9D1F30 #1F9D4D #1F6F9D
monochromatic
#370B11 #6A1520 #9D1F30 #D02940 #DE586A
Accessibility & contrast
On white
7.86
#9D1F30 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#9D1F30 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1F30
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1F30 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1F30 | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454130
Deuteranopia (green-blind)
#655B2C
Tritanopia (blue-blind)
#AD0027
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9d1f30; /* rgb */ color: rgb(157, 31, 48); /* oklch */ color: oklch(45.7% 0.160 19.7);
Tailwind
colors: {
custom: {
50: '#c26868',
500: '#9d1f30',
950: '#000000',
},
}SCSS
$custom: #9d1f30; $custom-light: #c26868; $custom-dark: #000000;
JSON
{
"hex": "#9d1f30",
"rgb": {
"r": 157,
"g": 31,
"b": 48
},
"hsl": {
"h": 351.905,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.45726,
"c": 0.16042,
"h": 19.7
},
"luminance": 0.08361
}Semantic roles & 50–950 ramp
primary
#9D1F30
secondary
#56C2B3
accent
#EAD33E
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140706
muted
#827A7A