#8A2F6D#8A2F6D
#8A2F6D is a mid, vivid pink. Relative luminance 0.085; OKLCH L 45.9% C 0.143 H 342.5°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2F6D |
|---|---|
| RGB | rgb(138, 47, 109) |
| HSL | hsl(319, 49%, 36%) |
| HSV | hsv(319, 66%, 54%) |
| CMYK | cmyk(0%, 65.9%, 21%, 45.9%) |
| CIE-LAB | lab(35.09, 45.47, -16.04) |
| CIE-LCH | lch(35.09, 48.22, 340.57°) |
| OKLab | oklab(45.92% 0.1361 -0.0429) |
| OKLCH | oklch(45.92% 0.143 342.5) |
| XYZ | xyz(14.2585, 8.5418, 15.3628) |
| Luminance | 0.0854 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 4.58
Red Violet
#9E0168
ΔE00 5.27
Grape
#6C3461
ΔE00 6.35
Light Eggplant
#894585
ΔE00 6.56
Warm Purple
#952E8F
ΔE00 7.06
Dark Magenta
#960056
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2F6D #2F8A4C
analogous
#7A2F8A #8A2F6D #8A2F40
triadic
#8A2F6D #6D8A2F #2F6D8A
tetradic
#8A2F6D #8A7A2F #2F8A4C #2F408A
square
#8A2F6D #8A7A2F #2F8A4C #2F408A
split-complementary
#8A2F6D #408A2F #2F8A7A
monochromatic
#2F1025 #5C1F49 #8A2F6D #B83F91 #CC68AC
Accessibility & contrast
On white
7.75
#8A2F6D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#8A2F6D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2F6D
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2F6D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2F6D | 1.00 | 7.75 | 2.71 | 7.75 |
| #FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36496F
Deuteranopia (green-blind)
#51586B
Tritanopia (blue-blind)
#923049
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #8a2f6d; /* rgb */ color: rgb(138, 47, 109); /* oklch */ color: oklch(45.9% 0.143 342.5);
Tailwind
colors: {
custom: {
50: '#af6e97',
500: '#8a2f6d',
950: '#000000',
},
}SCSS
$custom: #8a2f6d; $custom-light: #af6e97; $custom-dark: #000000;
JSON
{
"hex": "#8a2f6d",
"rgb": {
"r": 138,
"g": 47,
"b": 109
},
"hsl": {
"h": 319.121,
"s": 49.189,
"l": 36.275
},
"oklch": {
"l": 0.45915,
"c": 0.14265,
"h": 342.5
},
"luminance": 0.0854
}Semantic roles & 50–950 ramp
primary
#8A2F6D
secondary
#62B37C
accent
#D97B4F
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080D
muted
#807B7E