#8B2F52#8B2F52
#8B2F52 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.0% C 0.129 H 0.2°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #8B2F52 |
|---|---|
| RGB | rgb(139, 47, 82) |
| HSL | hsl(337, 49%, 36%) |
| HSV | hsv(337, 66%, 55%) |
| CMYK | cmyk(0%, 66.2%, 41%, 45.5%) |
| CIE-LAB | lab(34.26, 42.22, -0.00) |
| CIE-LCH | lch(34.26, 42.22, 359.99°) |
| OKLab | oklab(45.01% 0.1291 0.0005) |
| OKLCH | oklch(45.01% 0.129 0.2) |
| XYZ | xyz(13.1878, 8.1327, 8.8563) |
| Luminance | 0.0813 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 4.56
Mulberry
#920A4E
ΔE00 4.59
Reddish Purple
#910951
ΔE00 4.93
Purple Red
#990147
ΔE00 5.39
Dark Fuchsia
#9D0759
ΔE00 5.49
Dark Magenta
#960056
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B2F52 #2F8B68
analogous
#8B2F80 #8B2F52 #8B3A2F
triadic
#8B2F52 #528B2F #2F528B
tetradic
#8B2F52 #808B2F #2F8B68 #3A2F8B
square
#8B2F52 #808B2F #2F8B68 #3A2F8B
split-complementary
#8B2F52 #2F8B3A #2F808B
monochromatic
#30101C #5D2037 #8B2F52 #B93E6D #CC688E
Accessibility & contrast
On white
8.00
#8B2F52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#8B2F52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B2F52
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B2F52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B2F52 | 1.00 | 8.00 | 2.63 | 8.00 |
| #FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404553
Deuteranopia (green-blind)
#595750
Tritanopia (blue-blind)
#96253D
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8b2f52; /* rgb */ color: rgb(139, 47, 82); /* oklch */ color: oklch(45.0% 0.129 0.2);
Tailwind
colors: {
custom: {
50: '#b16d82',
500: '#8b2f52',
950: '#000000',
},
}SCSS
$custom: #8b2f52; $custom-light: #b16d82; $custom-dark: #000000;
JSON
{
"hex": "#8b2f52",
"rgb": {
"r": 139,
"g": 47,
"b": 82
},
"hsl": {
"h": 337.174,
"s": 49.462,
"l": 36.471
},
"oklch": {
"l": 0.45008,
"c": 0.12909,
"h": 0.2
},
"luminance": 0.08131
}Semantic roles & 50–950 ramp
primary
#8B2F52
secondary
#63B395
accent
#D9A44F
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11070A
muted
#807A7C