#8A2F5D#8A2F5D
#8A2F5D is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.2% C 0.133 H 352.4°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2F5D |
|---|---|
| RGB | rgb(138, 47, 93) |
| HSL | hsl(330, 49%, 36%) |
| HSV | hsv(330, 66%, 54%) |
| CMYK | cmyk(0%, 65.9%, 32.6%, 45.9%) |
| CIE-LAB | lab(34.45, 43.24, -6.81) |
| CIE-LCH | lch(34.45, 43.77, 351.05°) |
| OKLab | oklab(45.24% 0.1318 -0.0175) |
| OKLCH | oklch(45.24% 0.133 352.4) |
| XYZ | xyz(13.4742, 8.2281, 11.2324) |
| Luminance | 0.0823 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 4.88
Dark Magenta
#960056
ΔE00 5.02
Dark Fuchsia
#9D0759
ΔE00 5.06
Mulberry
#920A4E
ΔE00 5.30
Deep Magenta
#A0025C
ΔE00 5.35
Red Violet
#9E0168
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2F5D #2F8A5C
analogous
#8A2F8A #8A2F5D #8A2F30
triadic
#8A2F5D #5D8A2F #2F5D8A
tetradic
#8A2F5D #8A8A2F #2F8A5C #2F308A
square
#8A2F5D #8A8A2F #2F8A5C #2F308A
split-complementary
#8A2F5D #308A2F #2F8A8A
monochromatic
#2F101F #5C1F3E #8A2F5D #B83F7C #CC689A
Accessibility & contrast
On white
7.94
#8A2F5D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#8A2F5D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2F5D
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2F5D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2F5D | 1.00 | 7.94 | 2.65 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D475E
Deuteranopia (green-blind)
#56575B
Tritanopia (blue-blind)
#942A42
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8a2f5d; /* rgb */ color: rgb(138, 47, 93); /* oklch */ color: oklch(45.2% 0.133 352.4);
Tailwind
colors: {
custom: {
50: '#b06e8a',
500: '#8a2f5d',
950: '#000000',
},
}SCSS
$custom: #8a2f5d; $custom-light: #b06e8a; $custom-dark: #000000;
JSON
{
"hex": "#8a2f5d",
"rgb": {
"r": 138,
"g": 47,
"b": 93
},
"hsl": {
"h": 329.67,
"s": 49.189,
"l": 36.275
},
"oklch": {
"l": 0.45241,
"c": 0.13294,
"h": 352.4
},
"luminance": 0.08227
}Semantic roles & 50–950 ramp
primary
#8A2F5D
secondary
#62B38A
accent
#D9934F
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070B
muted
#807A7C