#8A2F5B#8A2F5B
#8A2F5B is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.2% C 0.132 H 353.8°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2F5B |
|---|---|
| RGB | rgb(138, 47, 91) |
| HSL | hsl(331, 49%, 36%) |
| HSV | hsv(331, 66%, 54%) |
| CMYK | cmyk(0%, 65.9%, 34.1%, 45.9%) |
| CIE-LAB | lab(34.38, 42.98, -5.63) |
| CIE-LCH | lch(34.38, 43.35, 352.53°) |
| OKLab | oklab(45.16% 0.1312 -0.0144) |
| OKLCH | oklch(45.16% 0.132 353.8) |
| XYZ | xyz(13.3868, 8.1931, 10.7719) |
| Luminance | 0.0819 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 4.70
Dark Magenta
#960056
ΔE00 4.98
Dark Fuchsia
#9D0759
ΔE00 4.98
Mulberry
#920A4E
ΔE00 5.01
Deep Magenta
#A0025C
ΔE00 5.33
Red Purple
#820747
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2F5B #2F8A5E
analogous
#8A2F89 #8A2F5B #8A312F
triadic
#8A2F5B #5B8A2F #2F5B8A
tetradic
#8A2F5B #898A2F #2F8A5E #312F8A
square
#8A2F5B #898A2F #2F8A5E #312F8A
split-complementary
#8A2F5B #2F8A31 #2F898A
monochromatic
#2F101F #5C1F3D #8A2F5B #B83F79 #CC6898
Accessibility & contrast
On white
7.96
#8A2F5B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#8A2F5B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2F5B
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2F5B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2F5B | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D465C
Deuteranopia (green-blind)
#565759
Tritanopia (blue-blind)
#942941
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8a2f5b; /* rgb */ color: rgb(138, 47, 91); /* oklch */ color: oklch(45.2% 0.132 353.8);
Tailwind
colors: {
custom: {
50: '#b06e89',
500: '#8a2f5b',
950: '#000000',
},
}SCSS
$custom: #8a2f5b; $custom-light: #b06e89; $custom-dark: #000000;
JSON
{
"hex": "#8a2f5b",
"rgb": {
"r": 138,
"g": 47,
"b": 91
},
"hsl": {
"h": 330.989,
"s": 49.189,
"l": 36.275
},
"oklch": {
"l": 0.45164,
"c": 0.13193,
"h": 353.8
},
"luminance": 0.08192
}Semantic roles & 50–950 ramp
primary
#8A2F5B
secondary
#62B38C
accent
#D9964F
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070B
muted
#807A7C