#8E276B#8E276B
#8E276B is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.6% C 0.155 H 344.5°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #8E276B |
|---|---|
| RGB | rgb(142, 39, 107) |
| HSL | hsl(320, 57%, 35%) |
| HSV | hsv(320, 73%, 56%) |
| CMYK | cmyk(0%, 72.5%, 24.6%, 44.3%) |
| CIE-LAB | lab(34.53, 49.59, -15.57) |
| CIE-LCH | lch(34.53, 51.97, 342.57°) |
| OKLab | oklab(45.61% 0.1497 -0.0415) |
| OKLCH | oklch(45.61% 0.155 344.5) |
| XYZ | xyz(14.5352, 8.2649, 14.7369) |
| Luminance | 0.0826 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.84
Dark Magenta
#960056
ΔE00 5.90
Deep Magenta
#A0025C
ΔE00 5.95
Bruise
#7E4071
ΔE00 6.06
Dark Fuchsia
#9D0759
ΔE00 6.14
Reddish Purple
#910951
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E276B #278E4A
analogous
#7D278E #8E276B #8E2738
triadic
#8E276B #6B8E27 #276B8E
tetradic
#8E276B #8E7D27 #278E4A #27388E
square
#8E276B #8E7D27 #278E4A #27388E
split-complementary
#8E276B #388E27 #278E7D
monochromatic
#2E0D23 #5E1A47 #8E276B #BE348F #D25DAB
Accessibility & contrast
On white
7.92
#8E276B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#8E276B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E276B
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E276B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E276B | 1.00 | 7.92 | 2.65 | 7.92 |
| #FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#32466D
Deuteranopia (green-blind)
#515769
Tritanopia (blue-blind)
#982645
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8e276b; /* rgb */ color: rgb(142, 39, 107); /* oklch */ color: oklch(45.6% 0.155 344.5);
Tailwind
colors: {
custom: {
50: '#b36b95',
500: '#8e276b',
950: '#000000',
},
}SCSS
$custom: #8e276b; $custom-light: #b36b95; $custom-dark: #000000;
JSON
{
"hex": "#8e276b",
"rgb": {
"r": 142,
"g": 39,
"b": 107
},
"hsl": {
"h": 320.388,
"s": 56.906,
"l": 35.49
},
"oklch": {
"l": 0.45613,
"c": 0.15534,
"h": 344.5
},
"luminance": 0.08263
}Semantic roles & 50–950 ramp
primary
#8E276B
secondary
#59B879
accent
#E07B48
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E