#9A2138#9A2138
#9A2138 is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.5% C 0.156 H 15.9°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2138 |
|---|---|
| RGB | rgb(154, 33, 56) |
| HSL | hsl(349, 65%, 37%) |
| HSV | hsv(349, 79%, 60%) |
| CMYK | cmyk(0%, 78.6%, 63.6%, 39.6%) |
| CIE-LAB | lab(34.49, 50.07, 17.57) |
| CIE-LCH | lch(34.49, 53.06, 19.34°) |
| OKLab | oklab(45.49% 0.1498 0.0426) |
| OKLCH | oklch(45.49% 0.156 15.9) |
| XYZ | xyz(14.5856, 8.2454, 4.5641) |
| Luminance | 0.0824 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.11
Cranberry
#9E003A
ΔE00 3.51
Red Wine
#8C0034
ΔE00 5.43
Raspberry (survey)
#B00149
ΔE00 6.20
Rose Red
#BE013C
ΔE00 6.49
Purplish Red
#B0054B
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2138 #219A83
analogous
#9A2175 #9A2138 #9A4721
triadic
#9A2138 #389A21 #21389A
tetradic
#9A2138 #759A21 #219A83 #47219A
square
#9A2138 #759A21 #219A83 #47219A
split-complementary
#9A2138 #219A47 #21759A
monochromatic
#350B13 #681626 #9A2138 #CC2C4A #DC5A72
Accessibility & contrast
On white
7.93
#9A2138 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#9A2138 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A2138
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2138 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2138 | 1.00 | 7.93 | 2.65 | 7.93 |
| #FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444138
Deuteranopia (green-blind)
#625A35
Tritanopia (blue-blind)
#A9002B
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9a2138; /* rgb */ color: rgb(154, 33, 56); /* oklch */ color: oklch(45.5% 0.156 15.9);
Tailwind
colors: {
custom: {
50: '#bf686e',
500: '#9a2138',
950: '#000000',
},
}SCSS
$custom: #9a2138; $custom-light: #bf686e; $custom-dark: #000000;
JSON
{
"hex": "#9a2138",
"rgb": {
"r": 154,
"g": 33,
"b": 56
},
"hsl": {
"h": 348.595,
"s": 64.706,
"l": 36.667
},
"oklch": {
"l": 0.45487,
"c": 0.15571,
"h": 15.9
},
"luminance": 0.08243
}Semantic roles & 50–950 ramp
primary
#9A2138
secondary
#57C0AC
accent
#E8C840
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130707
muted
#827A7A