#8A2F6C#8A2F6C
#8A2F6C is a mid, vivid pink. Relative luminance 0.085; OKLCH L 45.9% C 0.142 H 343.1°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2F6C |
|---|---|
| RGB | rgb(138, 47, 108) |
| HSL | hsl(320, 49%, 36%) |
| HSV | hsv(320, 66%, 54%) |
| CMYK | cmyk(0%, 65.9%, 21.7%, 45.9%) |
| CIE-LAB | lab(35.04, 45.32, -15.47) |
| CIE-LCH | lch(35.04, 47.89, 341.15°) |
| OKLab | oklab(45.87% 0.1358 -0.0413) |
| OKLCH | oklch(45.87% 0.142 343.1) |
| XYZ | xyz(14.2049, 8.5204, 15.0809) |
| Luminance | 0.0852 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 4.64
Red Violet
#9E0168
ΔE00 5.20
Grape
#6C3461
ΔE00 6.36
Light Eggplant
#894585
ΔE00 6.74
Dark Magenta
#960056
ΔE00 6.94
Deep Magenta
#A0025C
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2F6C #2F8A4D
analogous
#7B2F8A #8A2F6C #8A2F3F
triadic
#8A2F6C #6C8A2F #2F6C8A
tetradic
#8A2F6C #8A7B2F #2F8A4D #2F3F8A
square
#8A2F6C #8A7B2F #2F8A4D #2F3F8A
split-complementary
#8A2F6C #3F8A2F #2F8A7B
monochromatic
#2F1025 #5C1F48 #8A2F6C #B83F90 #CC68AB
Accessibility & contrast
On white
7.77
#8A2F6C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#8A2F6C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2F6C
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2F6C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2F6C | 1.00 | 7.77 | 2.70 | 7.77 |
| #FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#37496E
Deuteranopia (green-blind)
#52586A
Tritanopia (blue-blind)
#932F49
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #8a2f6c; /* rgb */ color: rgb(138, 47, 108); /* oklch */ color: oklch(45.9% 0.142 343.1);
Tailwind
colors: {
custom: {
50: '#af6e96',
500: '#8a2f6c',
950: '#000000',
},
}SCSS
$custom: #8a2f6c; $custom-light: #af6e96; $custom-dark: #000000;
JSON
{
"hex": "#8a2f6c",
"rgb": {
"r": 138,
"g": 47,
"b": 108
},
"hsl": {
"h": 319.78,
"s": 49.189,
"l": 36.275
},
"oklch": {
"l": 0.45869,
"c": 0.14197,
"h": 343.1
},
"luminance": 0.08519
}Semantic roles & 50–950 ramp
primary
#8A2F6C
secondary
#62B37D
accent
#D97C4F
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080D
muted
#807B7E