#9D2240#9D2240
#9D2240 is a mid, vivid red. Relative luminance 0.087; OKLCH L 46.3% C 0.158 H 12.4°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2240 |
|---|---|
| RGB | rgb(157, 34, 64) |
| HSL | hsl(345, 64%, 37%) |
| HSV | hsv(345, 78%, 62%) |
| CMYK | cmyk(0%, 78.3%, 59.2%, 38.4%) |
| CIE-LAB | lab(35.37, 51.18, 13.69) |
| CIE-LCH | lch(35.37, 52.98, 14.97°) |
| OKLab | oklab(46.3% 0.1545 0.034) |
| OKLCH | oklch(46.3% 0.158 12.4) |
| XYZ | xyz(15.4036, 8.6846, 5.7147) |
| Luminance | 0.0868 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cranberry
#9E003A
ΔE00 2.68
Rouge
#AB1239
ΔE00 3.61
Raspberry (survey)
#B00149
ΔE00 4.27
Purplish Red
#B0054B
ΔE00 4.52
Red Wine
#8C0034
ΔE00 5.19
Purple Red
#990147
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2240 #229D7F
analogous
#9D227D #9D2240 #9D4222
triadic
#9D2240 #409D22 #22409D
tetradic
#9D2240 #7D9D22 #229D7F #42229D
square
#9D2240 #7D9D22 #229D7F #42229D
split-complementary
#9D2240 #229D42 #227D9D
monochromatic
#380C17 #6B172B #9D2240 #CF2D55 #DC5D7C
Accessibility & contrast
On white
7.67
#9D2240 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#9D2240 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D2240
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2240 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2240 | 1.00 | 7.67 | 2.74 | 7.67 |
| #FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444340
Deuteranopia (green-blind)
#635C3D
Tritanopia (blue-blind)
#AC002F
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9d2240; /* rgb */ color: rgb(157, 34, 64); /* oklch */ color: oklch(46.3% 0.158 12.4);
Tailwind
colors: {
custom: {
50: '#c16974',
500: '#9d2240',
950: '#000000',
},
}SCSS
$custom: #9d2240; $custom-light: #c16974; $custom-dark: #000000;
JSON
{
"hex": "#9d2240",
"rgb": {
"r": 157,
"g": 34,
"b": 64
},
"hsl": {
"h": 345.366,
"s": 64.398,
"l": 37.451
},
"oklch": {
"l": 0.46301,
"c": 0.15818,
"h": 12.4
},
"luminance": 0.08682
}Semantic roles & 50–950 ramp
primary
#9D2240
secondary
#5AC1A8
accent
#E7BF40
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B