#8A256E#8A256E
#8A256E is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.9% C 0.157 H 341.2°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #8A256E |
|---|---|
| RGB | rgb(138, 37, 110) |
| HSL | hsl(317, 58%, 34%) |
| HSV | hsv(317, 73%, 54%) |
| CMYK | cmyk(0%, 73.2%, 20.3%, 45.9%) |
| CIE-LAB | lab(33.68, 49.67, -18.85) |
| CIE-LCH | lch(33.68, 53.13, 339.22°) |
| OKLab | oklab(44.9% 0.1485 -0.0507) |
| OKLCH | oklch(44.9% 0.157 341.2) |
| XYZ | xyz(13.9577, 7.8536, 15.5296) |
| Luminance | 0.0785 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.76
Bruise
#7E4071
ΔE00 5.98
Darkish Purple
#751973
ΔE00 6.37
Warm Purple
#952E8F
ΔE00 6.55
Grape
#6C3461
ΔE00 6.85
Velvet
#750851
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A256E #258A41
analogous
#74258A #8A256E #8A253C
triadic
#8A256E #6E8A25 #256E8A
tetradic
#8A256E #8A7425 #258A41 #253C8A
square
#8A256E #8A7425 #258A41 #253C8A
split-complementary
#8A256E #3C8A25 #258A74
monochromatic
#290B21 #5A1848 #8A256E #BA3294 #D257B0
Accessibility & contrast
On white
8.17
#8A256E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#8A256E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A256E
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A256E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A256E | 1.00 | 8.17 | 2.57 | 8.17 |
| #FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4570
Deuteranopia (green-blind)
#4D556C
Tritanopia (blue-blind)
#932746
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8a256e; /* rgb */ color: rgb(138, 37, 110); /* oklch */ color: oklch(44.9% 0.157 341.2);
Tailwind
colors: {
custom: {
50: '#b06997',
500: '#8a256e',
950: '#000000',
},
}SCSS
$custom: #8a256e; $custom-light: #b06997; $custom-dark: #000000;
JSON
{
"hex": "#8a256e",
"rgb": {
"r": 138,
"g": 37,
"b": 110
},
"hsl": {
"h": 316.634,
"s": 57.714,
"l": 34.314
},
"oklch": {
"l": 0.44899,
"c": 0.15696,
"h": 341.2
},
"luminance": 0.07852
}Semantic roles & 50–950 ramp
primary
#8A256E
secondary
#54B770
accent
#E17247
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E