#8A2E5B#8A2E5B
#8A2E5B is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.0% C 0.133 H 353.5°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2E5B |
|---|---|
| RGB | rgb(138, 46, 91) |
| HSL | hsl(331, 50%, 36%) |
| HSV | hsv(331, 67%, 54%) |
| CMYK | cmyk(0%, 66.7%, 34.1%, 45.9%) |
| CIE-LAB | lab(34.22, 43.43, -5.88) |
| CIE-LCH | lch(34.22, 43.82, 352.29°) |
| OKLab | oklab(45.04% 0.1325 -0.015) |
| OKLCH | oklch(45.04% 0.133 353.5) |
| XYZ | xyz(13.3473, 8.1141, 10.7588) |
| Luminance | 0.0811 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 4.55
Dark Magenta
#960056
ΔE00 4.80
Dark Fuchsia
#9D0759
ΔE00 4.86
Mulberry
#920A4E
ΔE00 4.90
Deep Magenta
#A0025C
ΔE00 5.20
Red Purple
#820747
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2E5B #2E8A5D
analogous
#8A2E89 #8A2E5B #8A2F2E
triadic
#8A2E5B #5B8A2E #2E5B8A
tetradic
#8A2E5B #898A2E #2E8A5D #2F2E8A
square
#8A2E5B #898A2E #2E8A5D #2F2E8A
split-complementary
#8A2E5B #2E8A2F #2E898A
monochromatic
#2E0F1E #5C1F3D #8A2E5B #B83D79 #CC6698
Accessibility & contrast
On white
8.01
#8A2E5B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#8A2E5B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2E5B
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2E5B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2E5B | 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)
#3D465C
Deuteranopia (green-blind)
#565759
Tritanopia (blue-blind)
#942840
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #8a2e5b; /* rgb */ color: rgb(138, 46, 91); /* oklch */ color: oklch(45.0% 0.133 353.5);
Tailwind
colors: {
custom: {
50: '#b06d89',
500: '#8a2e5b',
950: '#000000',
},
}SCSS
$custom: #8a2e5b; $custom-light: #b06d89; $custom-dark: #000000;
JSON
{
"hex": "#8a2e5b",
"rgb": {
"r": 138,
"g": 46,
"b": 91
},
"hsl": {
"h": 330.652,
"s": 50,
"l": 36.078
},
"oklch": {
"l": 0.45044,
"c": 0.13339,
"h": 353.5
},
"luminance": 0.08113
}Semantic roles & 50–950 ramp
primary
#8A2E5B
secondary
#61B38B
accent
#DA954E
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070B
muted
#807A7C