#8E315D#8E315D
#8E315D is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.1% C 0.134 H 354.3°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #8E315D |
|---|---|
| RGB | rgb(142, 49, 93) |
| HSL | hsl(332, 49%, 37%) |
| HSV | hsv(332, 65%, 56%) |
| CMYK | cmyk(0%, 65.5%, 34.5%, 44.3%) |
| CIE-LAB | lab(35.48, 43.61, -5.21) |
| CIE-LCH | lch(35.48, 43.92, 353.19°) |
| OKLab | oklab(46.13% 0.1331 -0.0132) |
| OKLCH | oklch(46.13% 0.134 354.3) |
| XYZ | xyz(14.2302, 8.7393, 11.2912) |
| Luminance | 0.0874 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Fuchsia
#9D0759
ΔE00 4.86
Reddish Purple
#910951
ΔE00 5.01
Deep Magenta
#A0025C
ΔE00 5.15
Dark Magenta
#960056
ΔE00 5.16
Mulberry
#920A4E
ΔE00 5.23
Berry
#990F4B
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E315D #318E62
analogous
#8E318B #8E315D #8E3431
triadic
#8E315D #5D8E31 #315D8E
tetradic
#8E315D #8B8E31 #318E62 #34318E
square
#8E315D #8B8E31 #318E62 #34318E
split-complementary
#8E315D #318E34 #318B8E
monochromatic
#331221 #61213F #8E315D #BB417B #CD6D9A
Accessibility & contrast
On white
7.64
#8E315D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#8E315D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E315D
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E315D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E315D | 1.00 | 7.64 | 2.75 | 7.64 |
| #FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#40495E
Deuteranopia (green-blind)
#595A5B
Tritanopia (blue-blind)
#992A43
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #8e315d; /* rgb */ color: rgb(142, 49, 93); /* oklch */ color: oklch(46.1% 0.134 354.3);
Tailwind
colors: {
custom: {
50: '#b36f8a',
500: '#8e315d',
950: '#000000',
},
}SCSS
$custom: #8e315d; $custom-light: #b36f8a; $custom-dark: #000000;
JSON
{
"hex": "#8e315d",
"rgb": {
"r": 142,
"g": 49,
"b": 93
},
"hsl": {
"h": 331.613,
"s": 48.691,
"l": 37.451
},
"oklch": {
"l": 0.46132,
"c": 0.13376,
"h": 354.3
},
"luminance": 0.08738
}Semantic roles & 50–950 ramp
primary
#8E315D
secondary
#67B48F
accent
#D89850
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11080B
muted
#807B7C