#8A2F56#8A2F56
#8A2F56 is a dark, vivid pink. Relative luminance 0.081; OKLCH L 45.0% C 0.130 H 357.1°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2F56 |
|---|---|
| RGB | rgb(138, 47, 86) |
| HSL | hsl(334, 49%, 36%) |
| HSV | hsv(334, 66%, 54%) |
| CMYK | cmyk(0%, 65.9%, 37.7%, 45.9%) |
| CIE-LAB | lab(34.21, 42.36, -2.67) |
| CIE-LCH | lch(34.21, 42.45, 356.39°) |
| OKLab | oklab(44.98% 0.1295 -0.0065) |
| OKLCH | oklch(44.98% 0.13 357.1) |
| XYZ | xyz(13.1782, 8.1097, 9.6736) |
| Luminance | 0.0811 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 4.58
Reddish Purple
#910951
ΔE00 4.60
Dark Fuchsia
#9D0759
ΔE00 5.10
Dark Magenta
#960056
ΔE00 5.19
Berry
#990F4B
ΔE00 5.20
Deep Magenta
#A0025C
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2F56 #2F8A63
analogous
#8A2F84 #8A2F56 #8A362F
triadic
#8A2F56 #568A2F #2F568A
tetradic
#8A2F56 #848A2F #2F8A63 #362F8A
square
#8A2F56 #848A2F #2F8A63 #362F8A
split-complementary
#8A2F56 #2F8A36 #2F848A
monochromatic
#2F101D #5C1F3A #8A2F56 #B83F72 #CC6893
Accessibility & contrast
On white
8.01
#8A2F56 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#8A2F56 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2F56
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2F56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2F56 | 1.00 | 8.01 | 2.62 | 8.01 |
| #FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4657
Deuteranopia (green-blind)
#585754
Tritanopia (blue-blind)
#95273F
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #8a2f56; /* rgb */ color: rgb(138, 47, 86); /* oklch */ color: oklch(45.0% 0.130 357.1);
Tailwind
colors: {
custom: {
50: '#b06d85',
500: '#8a2f56',
950: '#000000',
},
}SCSS
$custom: #8a2f56; $custom-light: #b06d85; $custom-dark: #000000;
JSON
{
"hex": "#8a2f56",
"rgb": {
"r": 138,
"g": 47,
"b": 86
},
"hsl": {
"h": 334.286,
"s": 49.189,
"l": 36.275
},
"oklch": {
"l": 0.44981,
"c": 0.12965,
"h": 357.1
},
"luminance": 0.08108
}Semantic roles & 50–950 ramp
primary
#8A2F56
secondary
#62B390
accent
#D99E4F
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11070B
muted
#807A7C