#8D306C#8D306C
#8D306C is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.5% C 0.143 H 344.5°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #8D306C |
|---|---|
| RGB | rgb(141, 48, 108) |
| HSL | hsl(321, 49%, 37%) |
| HSV | hsv(321, 66%, 55%) |
| CMYK | cmyk(0%, 66%, 23.4%, 44.7%) |
| CIE-LAB | lab(35.71, 45.77, -14.40) |
| CIE-LCH | lch(35.71, 47.99, 342.54°) |
| OKLab | oklab(46.46% 0.1377 -0.0383) |
| OKLCH | oklch(46.46% 0.143 344.5) |
| XYZ | xyz(14.7487, 8.8608, 15.1180) |
| Luminance | 0.0886 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 4.89
Red Violet
#9E0168
ΔE00 4.94
Deep Magenta
#A0025C
ΔE00 6.55
Dark Magenta
#960056
ΔE00 6.67
Dark Fuchsia
#9D0759
ΔE00 6.69
Light Eggplant
#894585
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D306C #308D51
analogous
#7F308D #8D306C #8D303E
triadic
#8D306C #6C8D30 #306C8D
tetradic
#8D306C #8D7F30 #308D51 #303E8D
square
#8D306C #8D7F30 #308D51 #303E8D
split-complementary
#8D306C #3E8D30 #308D7F
monochromatic
#321126 #5F2049 #8D306C #BB408F #CD6BAA
Accessibility & contrast
On white
7.58
#8D306C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#8D306C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D306C
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D306C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D306C | 1.00 | 7.58 | 2.77 | 7.58 |
| #FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#394A6E
Deuteranopia (green-blind)
#545A6A
Tritanopia (blue-blind)
#962F49
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #8d306c; /* rgb */ color: rgb(141, 48, 108); /* oklch */ color: oklch(46.5% 0.143 344.5);
Tailwind
colors: {
custom: {
50: '#b16f96',
500: '#8d306c',
950: '#000000',
},
}SCSS
$custom: #8d306c; $custom-light: #b16f96; $custom-dark: #000000;
JSON
{
"hex": "#8d306c",
"rgb": {
"r": 141,
"g": 48,
"b": 108
},
"hsl": {
"h": 321.29,
"s": 49.206,
"l": 37.059
},
"oklch": {
"l": 0.46461,
"c": 0.14291,
"h": 344.5
},
"luminance": 0.08859
}Semantic roles & 50–950 ramp
primary
#8D306C
secondary
#65B481
accent
#D9804F
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080D
muted
#807B7E