#8A2E5A#8A2E5A
#8A2E5A is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.0% C 0.133 H 354.2°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2E5A |
|---|---|
| RGB | rgb(138, 46, 90) |
| HSL | hsl(331, 50%, 36%) |
| HSV | hsv(331, 67%, 54%) |
| CMYK | cmyk(0%, 66.7%, 34.8%, 45.9%) |
| CIE-LAB | lab(34.18, 43.30, -5.29) |
| CIE-LCH | lch(34.18, 43.62, 353.04°) |
| OKLab | oklab(45.01% 0.1322 -0.0134) |
| OKLCH | oklch(45.01% 0.133 354.2) |
| XYZ | xyz(13.3044, 8.0969, 10.5331) |
| Luminance | 0.0809 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 4.48
Mulberry
#920A4E
ΔE00 4.77
Dark Magenta
#960056
ΔE00 4.80
Dark Fuchsia
#9D0759
ΔE00 4.83
Deep Magenta
#A0025C
ΔE00 5.21
Red Purple
#820747
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2E5A #2E8A5E
analogous
#8A2E88 #8A2E5A #8A302E
triadic
#8A2E5A #5A8A2E #2E5A8A
tetradic
#8A2E5A #888A2E #2E8A5E #302E8A
square
#8A2E5A #888A2E #2E8A5E #302E8A
split-complementary
#8A2E5A #2E8A30 #2E888A
monochromatic
#2E0F1E #5C1F3C #8A2E5A #B83D78 #CC6697
Accessibility & contrast
On white
8.02
#8A2E5A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#8A2E5A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2E5A
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2E5A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2E5A | 1.00 | 8.02 | 2.62 | 8.02 |
| #FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D465B
Deuteranopia (green-blind)
#565758
Tritanopia (blue-blind)
#952740
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #8a2e5a; /* rgb */ color: rgb(138, 46, 90); /* oklch */ color: oklch(45.0% 0.133 354.2);
Tailwind
colors: {
custom: {
50: '#b06d88',
500: '#8a2e5a',
950: '#000000',
},
}SCSS
$custom: #8a2e5a; $custom-light: #b06d88; $custom-dark: #000000;
JSON
{
"hex": "#8a2e5a",
"rgb": {
"r": 138,
"g": 46,
"b": 90
},
"hsl": {
"h": 331.304,
"s": 50,
"l": 36.078
},
"oklch": {
"l": 0.45007,
"c": 0.1329,
"h": 354.2
},
"luminance": 0.08095
}Semantic roles & 50–950 ramp
primary
#8A2E5A
secondary
#61B38C
accent
#DA974E
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11070B
muted
#807A7C