#8D315F#8D315F
#8D315F is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.0% C 0.134 H 352.7°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #8D315F |
|---|---|
| RGB | rgb(141, 49, 95) |
| HSL | hsl(330, 48%, 37%) |
| HSV | hsv(330, 65%, 55%) |
| CMYK | cmyk(0%, 65.2%, 32.6%, 44.7%) |
| CIE-LAB | lab(35.37, 43.55, -6.66) |
| CIE-LCH | lch(35.37, 44.06, 351.31°) |
| OKLab | oklab(46.05% 0.1327 -0.0171) |
| OKLCH | oklch(46.05% 0.134 352.7) |
| XYZ | xyz(14.1491, 8.6871, 11.7559) |
| Luminance | 0.0869 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Fuchsia
#9D0759
ΔE00 5.04
Reddish Purple
#910951
ΔE00 5.20
Dark Magenta
#960056
ΔE00 5.24
Deep Magenta
#A0025C
ΔE00 5.26
Mulberry
#920A4E
ΔE00 5.55
Red Violet
#9E0168
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D315F #318D5F
analogous
#8D318D #8D315F #8D3131
triadic
#8D315F #5F8D31 #315F8D
tetradic
#8D315F #8D8D31 #318D5F #31318D
square
#8D315F #8D8D31 #318D5F #31318D
split-complementary
#8D315F #318D31 #318D8D
monochromatic
#321122 #602140 #8D315F #BA417E #CC6C9C
Accessibility & contrast
On white
7.67
#8D315F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#8D315F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D315F
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D315F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D315F | 1.00 | 7.67 | 2.74 | 7.67 |
| #FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4960
Deuteranopia (green-blind)
#58595D
Tritanopia (blue-blind)
#972B44
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #8d315f; /* rgb */ color: rgb(141, 49, 95); /* oklch */ color: oklch(46.0% 0.134 352.7);
Tailwind
colors: {
custom: {
50: '#b26f8c',
500: '#8d315f',
950: '#000000',
},
}SCSS
$custom: #8d315f; $custom-light: #b26f8c; $custom-dark: #000000;
JSON
{
"hex": "#8d315f",
"rgb": {
"r": 141,
"g": 49,
"b": 95
},
"hsl": {
"h": 330,
"s": 48.421,
"l": 37.255
},
"oklch": {
"l": 0.46046,
"c": 0.13381,
"h": 352.7
},
"luminance": 0.08686
}Semantic roles & 50–950 ramp
primary
#8D315F
secondary
#66B48D
accent
#D89450
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11080C
muted
#807B7D