#9E2233#9E2233
#9E2233 is a mid, vivid red. Relative luminance 0.087; OKLCH L 46.2% C 0.159 H 19.1°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2233 |
|---|---|
| RGB | rgb(158, 34, 51) |
| HSL | hsl(352, 65%, 38%) |
| HSV | hsv(352, 78%, 62%) |
| CMYK | cmyk(0%, 78.5%, 67.7%, 38%) |
| CIE-LAB | lab(35.31, 50.66, 21.99) |
| CIE-LCH | lch(35.31, 55.23, 23.47°) |
| OKLab | oklab(46.21% 0.1501 0.052) |
| OKLCH | oklch(46.21% 0.159 19.1) |
| XYZ | xyz(15.2718, 8.6545, 3.9977) |
| Luminance | 0.0865 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.22
Brown
#A52A2A
ΔE00 5.11
Cranberry
#9E003A
ΔE00 5.52
Rose Red
#BE013C
ΔE00 5.94
Lipstick Red
#C0022F
ΔE00 6.47
Carmine
#9D0216
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2233 #229E8D
analogous
#9E2271 #9E2233 #9E4F22
triadic
#9E2233 #339E22 #22339E
tetradic
#9E2233 #719E22 #229E8D #4F229E
square
#9E2233 #719E22 #229E8D #4F229E
split-complementary
#9E2233 #229E4F #22719E
monochromatic
#390C12 #6C1723 #9E2233 #D02D43 #DC5E6F
Accessibility & contrast
On white
7.69
#9E2233 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#9E2233 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E2233
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2233 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2233 | 1.00 | 7.69 | 2.73 | 7.69 |
| #FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464233
Deuteranopia (green-blind)
#665C2F
Tritanopia (blue-blind)
#AE002A
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9e2233; /* rgb */ color: rgb(158, 34, 51); /* oklch */ color: oklch(46.2% 0.159 19.1);
Tailwind
colors: {
custom: {
50: '#c2696a',
500: '#9e2233',
950: '#000000',
},
}SCSS
$custom: #9e2233; $custom-light: #c2696a; $custom-dark: #000000;
JSON
{
"hex": "#9e2233",
"rgb": {
"r": 158,
"g": 34,
"b": 51
},
"hsl": {
"h": 351.774,
"s": 64.583,
"l": 37.647
},
"oklch": {
"l": 0.46209,
"c": 0.1588,
"h": 19.1
},
"luminance": 0.08652
}Semantic roles & 50–950 ramp
primary
#9E2233
secondary
#5BC1B3
accent
#E8D140
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140706
muted
#827A7A