#9E1938#9E1938
#9E1938 is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.6% C 0.166 H 15.0°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1938 |
|---|---|
| RGB | rgb(158, 25, 56) |
| HSL | hsl(346, 73%, 36%) |
| HSV | hsv(346, 84%, 62%) |
| CMYK | cmyk(0%, 84.2%, 64.6%, 38%) |
| CIE-LAB | lab(34.50, 53.50, 17.75) |
| CIE-LCH | lch(34.50, 56.36, 18.35°) |
| OKLab | oklab(45.64% 0.1603 0.0429) |
| OKLCH | oklch(45.64% 0.166 15) |
| XYZ | xyz(15.1636, 8.2522, 4.5350) |
| Luminance | 0.0825 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.46
Cranberry
#9E003A
ΔE00 2.69
Red Wine
#8C0034
ΔE00 5.18
Raspberry (survey)
#B00149
ΔE00 5.41
Purplish Red
#B0054B
ΔE00 5.79
Rose Red
#BE013C
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1938 #199E7F
analogous
#9E197A #9E1938 #9E3C19
triadic
#9E1938 #389E19 #19389E
tetradic
#9E1938 #7A9E19 #199E7F #3C199E
square
#9E1938 #7A9E19 #199E7F #3C199E
split-complementary
#9E1938 #199E3C #197A9E
monochromatic
#340813 #691125 #9E1938 #D3214B #E34E71
Accessibility & contrast
On white
7.92
#9E1938 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#9E1938 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1938
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1938 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1938 | 1.00 | 7.92 | 2.65 | 7.92 |
| #FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424038
Deuteranopia (green-blind)
#635B34
Tritanopia (blue-blind)
#AE0027
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9e1938; /* rgb */ color: rgb(158, 25, 56); /* oklch */ color: oklch(45.6% 0.166 15.0);
Tailwind
colors: {
custom: {
50: '#c2666e',
500: '#9e1938',
950: '#000000',
},
}SCSS
$custom: #9e1938; $custom-light: #c2666e; $custom-dark: #000000;
JSON
{
"hex": "#9e1938",
"rgb": {
"r": 158,
"g": 25,
"b": 56
},
"hsl": {
"h": 346.015,
"s": 72.678,
"l": 35.882
},
"oklch": {
"l": 0.45642,
"c": 0.16591,
"h": 15
},
"luminance": 0.0825
}Semantic roles & 50–950 ramp
primary
#9E1938
secondary
#4EC5A9
accent
#EFC538
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140707
muted
#827A7A