#9E2240#9E2240
#9E2240 is a mid, vivid red. Relative luminance 0.088; OKLCH L 46.5% C 0.159 H 12.6°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2240 |
|---|---|
| RGB | rgb(158, 34, 64) |
| HSL | hsl(345, 65%, 38%) |
| HSV | hsv(345, 78%, 62%) |
| CMYK | cmyk(0%, 78.5%, 59.5%, 38%) |
| CIE-LAB | lab(35.57, 51.48, 13.99) |
| CIE-LCH | lch(35.57, 53.34, 15.20°) |
| OKLab | oklab(46.48% 0.1553 0.0347) |
| OKLCH | oklch(46.48% 0.159 12.6) |
| XYZ | xyz(15.5996, 8.7856, 5.7239) |
| Luminance | 0.0878 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cranberry
#9E003A
ΔE00 2.75
Rouge
#AB1239
ΔE00 3.41
Raspberry (survey)
#B00149
ΔE00 4.21
Purplish Red
#B0054B
ΔE00 4.47
Red Wine
#8C0034
ΔE00 5.36
Purple Red
#990147
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2240 #229E80
analogous
#9E227E #9E2240 #9E4222
triadic
#9E2240 #409E22 #22409E
tetradic
#9E2240 #7E9E22 #229E80 #42229E
square
#9E2240 #7E9E22 #229E80 #42229E
split-complementary
#9E2240 #229E42 #227E9E
monochromatic
#390C17 #6C172C #9E2240 #D02D54 #DC5E7D
Accessibility & contrast
On white
7.62
#9E2240 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#9E2240 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E2240
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2240 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2240 | 1.00 | 7.62 | 2.76 | 7.62 |
| #FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444340
Deuteranopia (green-blind)
#645D3D
Tritanopia (blue-blind)
#AD002F
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9e2240; /* rgb */ color: rgb(158, 34, 64); /* oklch */ color: oklch(46.5% 0.159 12.6);
Tailwind
colors: {
custom: {
50: '#c16974',
500: '#9e2240',
950: '#000000',
},
}SCSS
$custom: #9e2240; $custom-light: #c16974; $custom-dark: #000000;
JSON
{
"hex": "#9e2240",
"rgb": {
"r": 158,
"g": 34,
"b": 64
},
"hsl": {
"h": 345.484,
"s": 64.583,
"l": 37.647
},
"oklch": {
"l": 0.46483,
"c": 0.15913,
"h": 12.6
},
"luminance": 0.08783
}Semantic roles & 50–950 ramp
primary
#9E2240
secondary
#5BC1A8
accent
#E8BF40
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B