#9A2038#9A2038
#9A2038 is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.4% C 0.157 H 15.6°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2038 |
|---|---|
| RGB | rgb(154, 32, 56) |
| HSL | hsl(348, 66%, 36%) |
| HSV | hsv(348, 79%, 60%) |
| CMYK | cmyk(0%, 79.2%, 63.6%, 39.6%) |
| CIE-LAB | lab(34.38, 50.38, 17.43) |
| CIE-LCH | lch(34.38, 53.31, 19.08°) |
| OKLab | oklab(45.4% 0.1508 0.0422) |
| OKLCH | oklch(45.4% 0.157 15.6) |
| XYZ | xyz(14.5583, 8.1908, 4.5550) |
| Luminance | 0.0819 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.11
Cranberry
#9E003A
ΔE00 3.33
Red Wine
#8C0034
ΔE00 5.27
Raspberry (survey)
#B00149
ΔE00 6.10
Purplish Red
#B0054B
ΔE00 6.44
Rose Red
#BE013C
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2038 #209A82
analogous
#9A2075 #9A2038 #9A4520
triadic
#9A2038 #389A20 #20389A
tetradic
#9A2038 #759A20 #209A82 #45209A
square
#9A2038 #759A20 #209A82 #45209A
split-complementary
#9A2038 #209A45 #20759A
monochromatic
#350B13 #671526 #9A2038 #CD2B4A #DC5872
Accessibility & contrast
On white
7.96
#9A2038 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#9A2038 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A2038
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2038 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2038 | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#434138
Deuteranopia (green-blind)
#625A35
Tritanopia (blue-blind)
#A9002A
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9a2038; /* rgb */ color: rgb(154, 32, 56); /* oklch */ color: oklch(45.4% 0.157 15.6);
Tailwind
colors: {
custom: {
50: '#bf686e',
500: '#9a2038',
950: '#000000',
},
}SCSS
$custom: #9a2038; $custom-light: #bf686e; $custom-dark: #000000;
JSON
{
"hex": "#9a2038",
"rgb": {
"r": 154,
"g": 32,
"b": 56
},
"hsl": {
"h": 348.197,
"s": 65.591,
"l": 36.471
},
"oklch": {
"l": 0.45404,
"c": 0.15659,
"h": 15.6
},
"luminance": 0.08189
}Semantic roles & 50–950 ramp
primary
#9A2038
secondary
#56C0AB
accent
#E9C73F
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130707
muted
#827A7A