#8A2E62#8A2E62
#8A2E62 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.3% C 0.137 H 349.0°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2E62 |
|---|---|
| RGB | rgb(138, 46, 98) |
| HSL | hsl(326, 50%, 36%) |
| HSV | hsv(326, 67%, 54%) |
| CMYK | cmyk(0%, 66.7%, 29%, 45.9%) |
| CIE-LAB | lab(34.48, 44.34, -9.97) |
| CIE-LCH | lch(34.48, 45.45, 347.32°) |
| OKLab | oklab(45.32% 0.1346 -0.0261) |
| OKLCH | oklch(45.32% 0.137 349) |
| XYZ | xyz(13.6634, 8.2405, 12.4239) |
| Luminance | 0.0824 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.09
Dark Magenta
#960056
ΔE00 5.30
Dark Fuchsia
#9D0759
ΔE00 5.45
Reddish Purple
#910951
ΔE00 5.46
Deep Magenta
#A0025C
ΔE00 5.56
Bruise
#7E4071
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2E62 #2E8A56
analogous
#842E8A #8A2E62 #8A2E34
triadic
#8A2E62 #628A2E #2E628A
tetradic
#8A2E62 #8A842E #2E8A56 #2E348A
square
#8A2E62 #8A842E #2E8A56 #2E348A
split-complementary
#8A2E62 #348A2E #2E8A84
monochromatic
#2E0F21 #5C1F41 #8A2E62 #B83D83 #CC66A0
Accessibility & contrast
On white
7.93
#8A2E62 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#8A2E62 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2E62
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2E62 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2E62 | 1.00 | 7.93 | 2.65 | 7.93 |
| #FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A4764
Deuteranopia (green-blind)
#545760
Tritanopia (blue-blind)
#942A44
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8a2e62; /* rgb */ color: rgb(138, 46, 98); /* oklch */ color: oklch(45.3% 0.137 349.0);
Tailwind
colors: {
custom: {
50: '#af6d8e',
500: '#8a2e62',
950: '#000000',
},
}SCSS
$custom: #8a2e62; $custom-light: #af6d8e; $custom-dark: #000000;
JSON
{
"hex": "#8a2e62",
"rgb": {
"r": 138,
"g": 46,
"b": 98
},
"hsl": {
"h": 326.087,
"s": 50,
"l": 36.078
},
"oklch": {
"l": 0.45321,
"c": 0.13714,
"h": 349
},
"luminance": 0.08239
}Semantic roles & 50–950 ramp
primary
#8A2E62
secondary
#61B385
accent
#DA8B4E
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D