#9C2138#9C2138
#9C2138 is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.9% C 0.158 H 16.2°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2138 |
|---|---|
| RGB | rgb(156, 33, 56) |
| HSL | hsl(349, 65%, 37%) |
| HSV | hsv(349, 79%, 61%) |
| CMYK | cmyk(0%, 78.8%, 64.1%, 38.8%) |
| CIE-LAB | lab(34.89, 50.67, 18.17) |
| CIE-LCH | lch(34.89, 53.83, 19.73°) |
| OKLab | oklab(45.86% 0.1514 0.0439) |
| OKLCH | oklch(45.86% 0.158 16.2) |
| XYZ | xyz(14.9696, 8.4434, 4.5821) |
| Luminance | 0.0844 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.75
Cranberry
#9E003A
ΔE00 3.70
Red Wine
#8C0034
ΔE00 5.81
Rose Red
#BE013C
ΔE00 6.09
Raspberry (survey)
#B00149
ΔE00 6.17
Purplish Red
#B0054B
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2138 #219C85
analogous
#9C2176 #9C2138 #9C4721
triadic
#9C2138 #389C21 #21389C
tetradic
#9C2138 #769C21 #219C85 #47219C
square
#9C2138 #769C21 #219C85 #47219C
split-complementary
#9C2138 #219C47 #21769C
monochromatic
#370C14 #691626 #9C2138 #CF2C4A #DC5B73
Accessibility & contrast
On white
7.81
#9C2138 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#9C2138 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C2138
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2138 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2138 | 1.00 | 7.81 | 2.69 | 7.81 |
| #FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444238
Deuteranopia (green-blind)
#645B35
Tritanopia (blue-blind)
#AB002B
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9c2138; /* rgb */ color: rgb(156, 33, 56); /* oklch */ color: oklch(45.9% 0.158 16.2);
Tailwind
colors: {
custom: {
50: '#c0696e',
500: '#9c2138',
950: '#000000',
},
}SCSS
$custom: #9c2138; $custom-light: #c0696e; $custom-dark: #000000;
JSON
{
"hex": "#9c2138",
"rgb": {
"r": 156,
"g": 33,
"b": 56
},
"hsl": {
"h": 348.78,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.45855,
"c": 0.15767,
"h": 16.2
},
"luminance": 0.08441
}Semantic roles & 50–950 ramp
primary
#9C2138
secondary
#58C1AD
accent
#E8C940
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140707
muted
#827A7A