#8A266E#8A266E
#8A266E is a dark, vivid pink. Relative luminance 0.079; OKLCH L 45.0% C 0.156 H 341.2°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #8A266E |
|---|---|
| RGB | rgb(138, 38, 110) |
| HSL | hsl(317, 57%, 35%) |
| HSV | hsv(317, 72%, 54%) |
| CMYK | cmyk(0%, 72.5%, 20.3%, 45.9%) |
| CIE-LAB | lab(33.81, 49.30, -18.64) |
| CIE-LCH | lch(33.81, 52.70, 339.29°) |
| OKLab | oklab(45% 0.1474 -0.0501) |
| OKLCH | oklch(45% 0.156 341.2) |
| XYZ | xyz(13.9892, 7.9167, 15.5402) |
| Luminance | 0.0791 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.78
Bruise
#7E4071
ΔE00 5.85
Darkish Purple
#751973
ΔE00 6.47
Warm Purple
#952E8F
ΔE00 6.55
Grape
#6C3461
ΔE00 6.79
Velvet
#750851
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A266E #268A42
analogous
#74268A #8A266E #8A263C
triadic
#8A266E #6E8A26 #266E8A
tetradic
#8A266E #8A7426 #268A42 #263C8A
square
#8A266E #8A7426 #268A42 #263C8A
split-complementary
#8A266E #3C8A26 #268A74
monochromatic
#2A0C22 #5A1948 #8A266E #BA3394 #D159B0
Accessibility & contrast
On white
8.13
#8A266E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#8A266E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A266E
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A266E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A266E | 1.00 | 8.13 | 2.58 | 8.13 |
| #FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4570
Deuteranopia (green-blind)
#4D556C
Tritanopia (blue-blind)
#932846
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8a266e; /* rgb */ color: rgb(138, 38, 110); /* oklch */ color: oklch(45.0% 0.156 341.2);
Tailwind
colors: {
custom: {
50: '#b06a97',
500: '#8a266e',
950: '#000000',
},
}SCSS
$custom: #8a266e; $custom-light: #b06a97; $custom-dark: #000000;
JSON
{
"hex": "#8a266e",
"rgb": {
"r": 138,
"g": 38,
"b": 110
},
"hsl": {
"h": 316.8,
"s": 56.818,
"l": 34.51
},
"oklch": {
"l": 0.44996,
"c": 0.15571,
"h": 341.2
},
"luminance": 0.07915
}Semantic roles & 50–950 ramp
primary
#8A266E
secondary
#56B671
accent
#E07248
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E