#8A1738#8A1738
#8A1738 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.149 H 10.8°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1738 |
|---|---|
| RGB | rgb(138, 23, 56) |
| HSL | hsl(343, 71%, 32%) |
| HSV | hsv(343, 83%, 54%) |
| CMYK | cmyk(0%, 83.3%, 59.4%, 45.9%) |
| CIE-LAB | lab(30.17, 48.33, 11.22) |
| CIE-LCH | lch(30.17, 49.61, 13.06°) |
| OKLab | oklab(41.71% 0.1464 0.028) |
| OKLCH | oklch(41.71% 0.149 10.8) |
| XYZ | xyz(11.5026, 6.3033, 4.3516) |
| Luminance | 0.0630 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 1.71
Cranberry
#9E003A
ΔE00 3.74
Bordeaux
#7B002C
ΔE00 3.94
Purple Red
#990147
ΔE00 4.93
Berry
#990F4B
ΔE00 5.47
Wine Red
#7B0323
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1738 #178A69
analogous
#8A1772 #8A1738 #8A3017
triadic
#8A1738 #388A17 #17388A
tetradic
#8A1738 #728A17 #178A69 #30178A
square
#8A1738 #728A17 #178A69 #30178A
split-complementary
#8A1738 #178A30 #17728A
monochromatic
#21060D #560E23 #8A1738 #BE204D #DF3D6B
Accessibility & contrast
On white
9.29
#8A1738 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#8A1738 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1738
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1738 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1738 | 1.00 | 9.29 | 2.26 | 9.29 |
| #FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383838
Deuteranopia (green-blind)
#554F35
Tritanopia (blue-blind)
#970026
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #8a1738; /* rgb */ color: rgb(138, 23, 56); /* oklch */ color: oklch(41.7% 0.149 10.8);
Tailwind
colors: {
custom: {
50: '#b3626e',
500: '#8a1738',
950: '#000000',
},
}SCSS
$custom: #8a1738; $custom-light: #b3626e; $custom-dark: #000000;
JSON
{
"hex": "#8a1738",
"rgb": {
"r": 138,
"g": 23,
"b": 56
},
"hsl": {
"h": 342.783,
"s": 71.429,
"l": 31.569
},
"oklch": {
"l": 0.4171,
"c": 0.14903,
"h": 10.8
},
"luminance": 0.06302
}Semantic roles & 50–950 ramp
primary
#8A1738
secondary
#3FBE99
accent
#EEBA3A
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A