#9E2845#9E2845
#9E2845 is a mid, vivid red. Relative luminance 0.092; OKLCH L 47.1% C 0.154 H 11.2°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2845 |
|---|---|
| RGB | rgb(158, 40, 69) |
| HSL | hsl(345, 60%, 39%) |
| HSV | hsv(345, 75%, 62%) |
| CMYK | cmyk(0%, 74.7%, 56.3%, 38%) |
| CIE-LAB | lab(36.40, 49.83, 11.91) |
| CIE-LCH | lch(36.40, 51.24, 13.44°) |
| OKLab | oklab(47.14% 0.1508 0.03) |
| OKLCH | oklch(47.14% 0.154 11.2) |
| XYZ | xyz(15.9350, 9.2186, 6.5693) |
| Luminance | 0.0922 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cranberry
#9E003A
ΔE00 3.64
Raspberry (survey)
#B00149
ΔE00 4.01
Purplish Red
#B0054B
ΔE00 4.14
Rouge
#AB1239
ΔE00 4.35
Berry
#990F4B
ΔE00 5.64
Purple Red
#990147
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2845 #289E81
analogous
#9E2880 #9E2845 #9E4628
triadic
#9E2845 #459E28 #28459E
tetradic
#9E2845 #809E28 #289E81 #46289E
square
#9E2845 #809E28 #289E81 #46289E
split-complementary
#9E2845 #289E46 #28809E
monochromatic
#3C0F1A #6D1C30 #9E2845 #CC375C #D96883
Accessibility & contrast
On white
7.39
#9E2845 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#9E2845 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E2845
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2845 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2845 | 1.00 | 7.39 | 2.84 | 7.39 |
| #FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474645
Deuteranopia (green-blind)
#655E42
Tritanopia (blue-blind)
#AD0634
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9e2845; /* rgb */ color: rgb(158, 40, 69); /* oklch */ color: oklch(47.1% 0.154 11.2);
Tailwind
colors: {
custom: {
50: '#c16c78',
500: '#9e2845',
950: '#000000',
},
}SCSS
$custom: #9e2845; $custom-light: #c16c78; $custom-dark: #000000;
JSON
{
"hex": "#9e2845",
"rgb": {
"r": 158,
"g": 40,
"b": 69
},
"hsl": {
"h": 345.254,
"s": 59.596,
"l": 38.824
},
"oklch": {
"l": 0.47137,
"c": 0.15378,
"h": 11.2
},
"luminance": 0.09216
}Semantic roles & 50–950 ramp
primary
#9E2845
secondary
#63BFA8
accent
#E3BC45
background
#FCF6F7
surface
#F8ECED
border
#D1C7C8
text
#130708
muted
#827A7B