#8A2F5F#8A2F5F
#8A2F5F is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.3% C 0.134 H 351.1°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2F5F |
|---|---|
| RGB | rgb(138, 47, 95) |
| HSL | hsl(328, 49%, 36%) |
| HSV | hsv(328, 66%, 54%) |
| CMYK | cmyk(0%, 65.9%, 31.2%, 45.9%) |
| CIE-LAB | lab(34.53, 43.50, -7.98) |
| CIE-LCH | lch(34.53, 44.23, 349.60°) |
| OKLab | oklab(45.32% 0.1324 -0.0207) |
| OKLCH | oklch(45.32% 0.134 351.1) |
| XYZ | xyz(13.5640, 8.2640, 11.7050) |
| Luminance | 0.0826 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 5.11
Dark Magenta
#960056
ΔE00 5.13
Dark Fuchsia
#9D0759
ΔE00 5.21
Deep Magenta
#A0025C
ΔE00 5.42
Red Violet
#9E0168
ΔE00 5.54
Mulberry
#920A4E
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2F5F #2F8A5A
analogous
#882F8A #8A2F5F #8A2F32
triadic
#8A2F5F #5F8A2F #2F5F8A
tetradic
#8A2F5F #8A882F #2F8A5A #2F328A
square
#8A2F5F #8A882F #2F8A5A #2F328A
split-complementary
#8A2F5F #328A2F #2F8A88
monochromatic
#2F1020 #5C1F40 #8A2F5F #B83F7E #CC689C
Accessibility & contrast
On white
7.92
#8A2F5F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#8A2F5F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2F5F
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2F5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2F5F | 1.00 | 7.92 | 2.65 | 7.92 |
| #FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C4760
Deuteranopia (green-blind)
#55575D
Tritanopia (blue-blind)
#942A43
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8a2f5f; /* rgb */ color: rgb(138, 47, 95); /* oklch */ color: oklch(45.3% 0.134 351.1);
Tailwind
colors: {
custom: {
50: '#af6e8c',
500: '#8a2f5f',
950: '#000000',
},
}SCSS
$custom: #8a2f5f; $custom-light: #af6e8c; $custom-dark: #000000;
JSON
{
"hex": "#8a2f5f",
"rgb": {
"r": 138,
"g": 47,
"b": 95
},
"hsl": {
"h": 328.352,
"s": 49.189,
"l": 36.275
},
"oklch": {
"l": 0.45319,
"c": 0.134,
"h": 351.1
},
"luminance": 0.08263
}Semantic roles & 50–950 ramp
primary
#8A2F5F
secondary
#62B388
accent
#D9904F
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D