#9D2837#9D2837
#9D2837 is a mid, vivid red. Relative luminance 0.090; OKLCH L 46.6% C 0.152 H 18.5°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2837 |
|---|---|
| RGB | rgb(157, 40, 55) |
| HSL | hsl(352, 59%, 39%) |
| HSV | hsv(352, 75%, 62%) |
| CMYK | cmyk(0%, 74.5%, 65%, 38.4%) |
| CIE-LAB | lab(35.91, 48.54, 20.18) |
| CIE-LCH | lch(35.91, 52.57, 22.57°) |
| OKLab | oklab(46.65% 0.1443 0.0483) |
| OKLCH | oklch(46.65% 0.152 18.5) |
| XYZ | xyz(15.3546, 8.9638, 4.5354) |
| Luminance | 0.0896 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.27
Cranberry
#9E003A
ΔE00 5.44
Brown
#A52A2A
ΔE00 5.53
Rose Red
#BE013C
ΔE00 6.00
Lipstick Red
#C0022F
ΔE00 6.88
Red Wine
#8C0034
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2837 #289D8E
analogous
#9D2871 #9D2837 #9D5328
triadic
#9D2837 #379D28 #28379D
tetradic
#9D2837 #719D28 #289D8E #53289D
square
#9D2837 #719D28 #289D8E #53289D
split-complementary
#9D2837 #289D53 #28719D
monochromatic
#3B0F15 #6C1C26 #9D2837 #CC3649 #D86776
Accessibility & contrast
On white
7.52
#9D2837 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#9D2837 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D2837
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2837 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2837 | 1.00 | 7.52 | 2.79 | 7.52 |
| #FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494537
Deuteranopia (green-blind)
#665D34
Tritanopia (blue-blind)
#AC002F
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9d2837; /* rgb */ color: rgb(157, 40, 55); /* oklch */ color: oklch(46.6% 0.152 18.5);
Tailwind
colors: {
custom: {
50: '#c16c6d',
500: '#9d2837',
950: '#000000',
},
}SCSS
$custom: #9d2837; $custom-light: #c16c6d; $custom-dark: #000000;
JSON
{
"hex": "#9d2837",
"rgb": {
"r": 157,
"g": 40,
"b": 55
},
"hsl": {
"h": 352.308,
"s": 59.391,
"l": 38.627
},
"oklch": {
"l": 0.46645,
"c": 0.15218,
"h": 18.5
},
"luminance": 0.08962
}Semantic roles & 50–950 ramp
primary
#9D2837
secondary
#62BEB3
accent
#E3CE45
background
#FCF6F6
surface
#F9ECEB
border
#D2C7C6
text
#140707
muted
#827A7A