#8A2F4F#8A2F4F
#8A2F4F is a dark, vivid pink. Relative luminance 0.080; OKLCH L 44.7% C 0.127 H 2.0°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2F4F |
|---|---|
| RGB | rgb(138, 47, 79) |
| HSL | hsl(339, 49%, 36%) |
| HSV | hsv(339, 66%, 54%) |
| CMYK | cmyk(0%, 65.9%, 42.8%, 45.9%) |
| CIE-LAB | lab(33.99, 41.55, 1.52) |
| CIE-LCH | lch(33.99, 41.58, 2.09°) |
| OKLab | oklab(44.74% 0.127 0.0044) |
| OKLCH | oklch(44.74% 0.127 2) |
| XYZ | xyz(12.9099, 8.0023, 8.2604) |
| Luminance | 0.0800 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 4.52
Mulberry
#920A4E
ΔE00 4.87
Purple Red
#990147
ΔE00 5.25
Reddish Purple
#910951
ΔE00 5.36
Dark Fuchsia
#9D0759
ΔE00 6.04
Red Purple
#820747
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2F4F #2F8A6A
analogous
#8A2F7D #8A2F4F #8A3D2F
triadic
#8A2F4F #4F8A2F #2F4F8A
tetradic
#8A2F4F #7D8A2F #2F8A6A #3D2F8A
square
#8A2F4F #7D8A2F #2F8A6A #3D2F8A
split-complementary
#8A2F4F #2F8A3D #2F7D8A
monochromatic
#2F101B #5C1F35 #8A2F4F #B83F69 #CC688B
Accessibility & contrast
On white
8.08
#8A2F4F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#8A2F4F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2F4F
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2F4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2F4F | 1.00 | 8.08 | 2.60 | 8.08 |
| #FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414550
Deuteranopia (green-blind)
#59564D
Tritanopia (blue-blind)
#96253C
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #8a2f4f; /* rgb */ color: rgb(138, 47, 79); /* oklch */ color: oklch(44.7% 0.127 2.0);
Tailwind
colors: {
custom: {
50: '#b06d80',
500: '#8a2f4f',
950: '#000000',
},
}SCSS
$custom: #8a2f4f; $custom-light: #b06d80; $custom-dark: #000000;
JSON
{
"hex": "#8a2f4f",
"rgb": {
"r": 138,
"g": 47,
"b": 79
},
"hsl": {
"h": 338.901,
"s": 49.189,
"l": 36.275
},
"oklch": {
"l": 0.44743,
"c": 0.12706,
"h": 2
},
"luminance": 0.08001
}Semantic roles & 50–950 ramp
primary
#8A2F4F
secondary
#62B396
accent
#D9A84F
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11070A
muted
#807A7C