#8D2F72#8D2F72
#8D2F72 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.6% C 0.148 H 341.0°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #8D2F72 |
|---|---|
| RGB | rgb(141, 47, 114) |
| HSL | hsl(317, 50%, 37%) |
| HSV | hsv(317, 67%, 55%) |
| CMYK | cmyk(0%, 66.7%, 19.1%, 44.7%) |
| CIE-LAB | lab(35.81, 47.10, -18.03) |
| CIE-LCH | lch(35.81, 50.43, 339.05°) |
| OKLab | oklab(46.62% 0.1403 -0.0484) |
| OKLCH | oklch(46.62% 0.148 341) |
| XYZ | xyz(15.0387, 8.9120, 16.8445) |
| Luminance | 0.0891 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 4.77
Red Violet
#9E0168
ΔE00 5.32
Light Eggplant
#894585
ΔE00 5.92
Warm Purple
#952E8F
ΔE00 6.00
Grape
#6C3461
ΔE00 7.00
Deep Magenta
#A0025C
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D2F72 #2F8D4A
analogous
#792F8D #8D2F72 #8D2F43
triadic
#8D2F72 #728D2F #2F728D
tetradic
#8D2F72 #8D792F #2F8D4A #2F438D
square
#8D2F72 #8D792F #2F8D4A #2F438D
split-complementary
#8D2F72 #438D2F #2F8D79
monochromatic
#311028 #5F204D #8D2F72 #BB3E97 #CD69B0
Accessibility & contrast
On white
7.55
#8D2F72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#8D2F72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D2F72
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D2F72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D2F72 | 1.00 | 7.55 | 2.78 | 7.55 |
| #FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#354B74
Deuteranopia (green-blind)
#525A70
Tritanopia (blue-blind)
#95314C
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #8d2f72; /* rgb */ color: rgb(141, 47, 114); /* oklch */ color: oklch(46.6% 0.148 341.0);
Tailwind
colors: {
custom: {
50: '#b16f9a',
500: '#8d2f72',
950: '#000000',
},
}SCSS
$custom: #8d2f72; $custom-light: #b16f9a; $custom-dark: #000000;
JSON
{
"hex": "#8d2f72",
"rgb": {
"r": 141,
"g": 47,
"b": 114
},
"hsl": {
"h": 317.234,
"s": 50,
"l": 36.863
},
"oklch": {
"l": 0.46618,
"c": 0.14845,
"h": 341
},
"luminance": 0.08911
}Semantic roles & 50–950 ramp
primary
#8D2F72
secondary
#64B47B
accent
#DA764E
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E