#8A1537#8A1537
#8A1537 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.5% C 0.150 H 11.1°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1537 |
|---|---|
| RGB | rgb(138, 21, 55) |
| HSL | hsl(343, 74%, 31%) |
| HSV | hsv(343, 85%, 54%) |
| CMYK | cmyk(0%, 84.8%, 60.1%, 45.9%) |
| CIE-LAB | lab(29.95, 48.79, 11.59) |
| CIE-LCH | lch(29.95, 50.15, 13.37°) |
| OKLab | oklab(41.55% 0.1477 0.0289) |
| OKLCH | oklch(41.55% 0.15 11.1) |
| XYZ | xyz(11.4402, 6.2172, 4.2113) |
| Luminance | 0.0621 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 1.49
Cranberry
#9E003A
ΔE00 3.70
Bordeaux
#7B002C
ΔE00 3.77
Purple Red
#990147
ΔE00 5.05
Wine Red
#7B0323
ΔE00 5.28
Berry
#990F4B
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1537 #158A68
analogous
#8A1571 #8A1537 #8A2D15
triadic
#8A1537 #378A15 #15378A
tetradic
#8A1537 #718A15 #158A68 #2D158A
square
#8A1537 #718A15 #158A68 #2D158A
split-complementary
#8A1537 #158A2D #15718A
monochromatic
#20050D #550D22 #8A1537 #BF1D4C #E13969
Accessibility & contrast
On white
9.36
#8A1537 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#8A1537 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1537
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1537 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1537 | 1.00 | 9.36 | 2.24 | 9.36 |
| #FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373737
Deuteranopia (green-blind)
#554F34
Tritanopia (blue-blind)
#970024
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #8a1537; /* rgb */ color: rgb(138, 21, 55); /* oklch */ color: oklch(41.5% 0.150 11.1);
Tailwind
colors: {
custom: {
50: '#b3616d',
500: '#8a1537',
950: '#000000',
},
}SCSS
$custom: #8a1537; $custom-light: #b3616d; $custom-dark: #000000;
JSON
{
"hex": "#8a1537",
"rgb": {
"r": 138,
"g": 21,
"b": 55
},
"hsl": {
"h": 342.564,
"s": 73.585,
"l": 31.176
},
"oklch": {
"l": 0.41547,
"c": 0.15048,
"h": 11.1
},
"luminance": 0.06215
}Semantic roles & 50–950 ramp
primary
#8A1537
secondary
#3DBE98
accent
#F0BB38
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A