#8A2E4C#8A2E4C
#8A2E4C is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.5% C 0.128 H 3.8°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2E4C |
|---|---|
| RGB | rgb(138, 46, 76) |
| HSL | hsl(340, 50%, 36%) |
| HSV | hsv(340, 67%, 54%) |
| CMYK | cmyk(0%, 66.7%, 44.9%, 45.9%) |
| CIE-LAB | lab(33.73, 41.68, 3.09) |
| CIE-LCH | lch(33.73, 41.79, 4.25°) |
| OKLab | oklab(44.53% 0.1273 0.0084) |
| OKLCH | oklch(44.53% 0.128 3.8) |
| XYZ | xyz(12.7637, 7.8806, 7.6850) |
| Luminance | 0.0788 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 4.40
Purple Red
#990147
ΔE00 5.00
Mulberry
#920A4E
ΔE00 5.09
Reddish Purple
#910951
ΔE00 5.71
Violet Red
#A50055
ΔE00 6.30
Red Purple
#820747
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2E4C #2E8A6C
analogous
#8A2E7A #8A2E4C #8A3E2E
triadic
#8A2E4C #4C8A2E #2E4C8A
tetradic
#8A2E4C #7A8A2E #2E8A6C #3E2E8A
square
#8A2E4C #7A8A2E #2E8A6C #3E2E8A
split-complementary
#8A2E4C #2E8A3E #2E7A8A
monochromatic
#2E0F19 #5C1F33 #8A2E4C #B83D65 #CC6687
Accessibility & contrast
On white
8.15
#8A2E4C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#8A2E4C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2E4C
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2E4C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2E4C | 1.00 | 8.15 | 2.58 | 8.15 |
| #FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#41444D
Deuteranopia (green-blind)
#59564A
Tritanopia (blue-blind)
#96223A
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8a2e4c; /* rgb */ color: rgb(138, 46, 76); /* oklch */ color: oklch(44.5% 0.128 3.8);
Tailwind
colors: {
custom: {
50: '#b06d7d',
500: '#8a2e4c',
950: '#000000',
},
}SCSS
$custom: #8a2e4c; $custom-light: #b06d7d; $custom-dark: #000000;
JSON
{
"hex": "#8a2e4c",
"rgb": {
"r": 138,
"g": 46,
"b": 76
},
"hsl": {
"h": 340.435,
"s": 50,
"l": 36.078
},
"oklch": {
"l": 0.44525,
"c": 0.12755,
"h": 3.8
},
"luminance": 0.07879
}Semantic roles & 50–950 ramp
primary
#8A2E4C
secondary
#61B398
accent
#DAAC4E
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#110709
muted
#807A7B