#8A2F57#8A2F57
#8A2F57 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.0% C 0.130 H 356.4°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2F57 |
|---|---|
| RGB | rgb(138, 47, 87) |
| HSL | hsl(334, 49%, 36%) |
| HSV | hsv(334, 66%, 54%) |
| CMYK | cmyk(0%, 65.9%, 37%, 45.9%) |
| CIE-LAB | lab(34.24, 42.48, -3.27) |
| CIE-LCH | lch(34.24, 42.61, 355.60°) |
| OKLab | oklab(45.02% 0.1298 -0.0081) |
| OKLCH | oklch(45.02% 0.13 356.4) |
| XYZ | xyz(13.2188, 8.1259, 9.8873) |
| Luminance | 0.0812 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 4.58
Mulberry
#920A4E
ΔE00 4.63
Dark Fuchsia
#9D0759
ΔE00 5.04
Dark Magenta
#960056
ΔE00 5.11
Berry
#990F4B
ΔE00 5.36
Deep Magenta
#A0025C
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2F57 #2F8A62
analogous
#8A2F85 #8A2F57 #8A352F
triadic
#8A2F57 #578A2F #2F578A
tetradic
#8A2F57 #858A2F #2F8A62 #352F8A
square
#8A2F57 #858A2F #2F8A62 #352F8A
split-complementary
#8A2F57 #2F8A35 #2F858A
monochromatic
#2F101D #5C1F3A #8A2F57 #B83F74 #CC6894
Accessibility & contrast
On white
8.00
#8A2F57 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#8A2F57 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2F57
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2F57 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2F57 | 1.00 | 8.00 | 2.62 | 8.00 |
| #FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4658
Deuteranopia (green-blind)
#575755
Tritanopia (blue-blind)
#95273F
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #8a2f57; /* rgb */ color: rgb(138, 47, 87); /* oklch */ color: oklch(45.0% 0.130 356.4);
Tailwind
colors: {
custom: {
50: '#b06d86',
500: '#8a2f57',
950: '#000000',
},
}SCSS
$custom: #8a2f57; $custom-light: #b06d86; $custom-dark: #000000;
JSON
{
"hex": "#8a2f57",
"rgb": {
"r": 138,
"g": 47,
"b": 87
},
"hsl": {
"h": 333.626,
"s": 49.189,
"l": 36.275
},
"oklch": {
"l": 0.45017,
"c": 0.13008,
"h": 356.4
},
"luminance": 0.08124
}Semantic roles & 50–950 ramp
primary
#8A2F57
secondary
#62B38F
accent
#D99C4F
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11070B
muted
#807A7C