#8A274E#8A274E
#8A274E is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.8% C 0.137 H 0.6°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).
Color values
| HEX | #8A274E |
|---|---|
| RGB | rgb(138, 39, 78) |
| HSL | hsl(336, 56%, 35%) |
| HSV | hsv(336, 72%, 54%) |
| CMYK | cmyk(0%, 71.7%, 43.5%, 45.9%) |
| CIE-LAB | lab(32.71, 44.86, 0.32) |
| CIE-LCH | lch(32.71, 44.86, 0.40°) |
| OKLab | oklab(43.79% 0.1374 0.0013) |
| OKLCH | oklch(43.79% 0.137 0.6) |
| XYZ | xyz(12.5828, 7.4059, 7.9731) |
| Luminance | 0.0740 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 3.34
Berry
#990F4B
ΔE00 3.61
Reddish Purple
#910951
ΔE00 3.78
Purple Red
#990147
ΔE00 4.32
Red Purple
#820747
ΔE00 4.54
Dark Magenta
#960056
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A274E #278A63
analogous
#8A277F #8A274E #8A3227
triadic
#8A274E #4E8A27 #274E8A
tetradic
#8A274E #7F8A27 #278A63 #32278A
square
#8A274E #7F8A27 #278A63 #32278A
split-complementary
#8A274E #278A32 #277F8A
monochromatic
#2B0C18 #5A1A33 #8A274E #BA3469 #D15B89
Accessibility & contrast
On white
8.47
#8A274E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#8A274E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A274E
8.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A274E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A274E | 1.00 | 8.47 | 2.48 | 8.47 |
| #FFFFFF | 8.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B414F
Deuteranopia (green-blind)
#56544C
Tritanopia (blue-blind)
#961A37
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #8a274e; /* rgb */ color: rgb(138, 39, 78); /* oklch */ color: oklch(43.8% 0.137 0.6);
Tailwind
colors: {
custom: {
50: '#b1697f',
500: '#8a274e',
950: '#000000',
},
}SCSS
$custom: #8a274e; $custom-light: #b1697f; $custom-dark: #000000;
JSON
{
"hex": "#8a274e",
"rgb": {
"r": 138,
"g": 39,
"b": 78
},
"hsl": {
"h": 336.364,
"s": 55.932,
"l": 34.706
},
"oklch": {
"l": 0.43789,
"c": 0.13744,
"h": 0.6
},
"luminance": 0.07404
}Semantic roles & 50–950 ramp
primary
#8A274E
secondary
#57B690
accent
#DFA449
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11070A
muted
#807A7C