#9E2838#9E2838
#9E2838 is a mid, vivid red. Relative luminance 0.091; OKLCH L 46.8% C 0.153 H 18.1°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2838 |
|---|---|
| RGB | rgb(158, 40, 56) |
| HSL | hsl(352, 60%, 39%) |
| HSV | hsv(352, 75%, 62%) |
| CMYK | cmyk(0%, 74.7%, 64.6%, 38%) |
| CIE-LAB | lab(36.13, 48.92, 19.86) |
| CIE-LCH | lch(36.13, 52.80, 22.09°) |
| OKLab | oklab(46.84% 0.1456 0.0477) |
| OKLCH | oklch(46.84% 0.153 18.1) |
| XYZ | xyz(15.5748, 9.0745, 4.6721) |
| Luminance | 0.0907 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.04
Cranberry
#9E003A
ΔE00 5.29
Brown
#A52A2A
ΔE00 5.72
Rose Red
#BE013C
ΔE00 5.78
Lipstick Red
#C0022F
ΔE00 6.83
Raspberry (survey)
#B00149
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2838 #289E8E
analogous
#9E2873 #9E2838 #9E5328
triadic
#9E2838 #389E28 #28389E
tetradic
#9E2838 #739E28 #289E8E #53289E
square
#9E2838 #739E28 #289E8E #53289E
split-complementary
#9E2838 #289E53 #28739E
monochromatic
#3C0F15 #6D1C27 #9E2838 #CC374B #D96877
Accessibility & contrast
On white
7.46
#9E2838 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#9E2838 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E2838
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2838 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2838 | 1.00 | 7.46 | 2.81 | 7.46 |
| #FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494538
Deuteranopia (green-blind)
#675E35
Tritanopia (blue-blind)
#AE002F
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #9e2838; /* rgb */ color: rgb(158, 40, 56); /* oklch */ color: oklch(46.8% 0.153 18.1);
Tailwind
colors: {
custom: {
50: '#c26c6e',
500: '#9e2838',
950: '#000000',
},
}SCSS
$custom: #9e2838; $custom-light: #c26c6e; $custom-dark: #000000;
JSON
{
"hex": "#9e2838",
"rgb": {
"r": 158,
"g": 40,
"b": 56
},
"hsl": {
"h": 351.864,
"s": 59.596,
"l": 38.824
},
"oklch": {
"l": 0.46844,
"c": 0.15318,
"h": 18.1
},
"luminance": 0.09072
}Semantic roles & 50–950 ramp
primary
#9E2838
secondary
#63BFB2
accent
#E3CD45
background
#FCF6F6
surface
#F9ECEB
border
#D2C7C6
text
#140707
muted
#827A7A