#931F71#931F71
#931F71 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.0% C 0.172 H 342.8°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #931F71 |
|---|---|
| RGB | rgb(147, 31, 113) |
| HSL | hsl(318, 65%, 35%) |
| HSV | hsv(318, 79%, 58%) |
| CMYK | cmyk(0%, 78.9%, 23.1%, 42.4%) |
| CIE-LAB | lab(34.76, 54.42, -18.95) |
| CIE-LCH | lch(34.76, 57.62, 340.80°) |
| OKLab | oklab(46.04% 0.164 -0.0508) |
| OKLCH | oklch(46.04% 0.172 342.8) |
| XYZ | xyz(15.5038, 8.3769, 16.4200) |
| Luminance | 0.0838 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.50
Warm Purple
#952E8F
ΔE00 6.26
Deep Magenta
#A0025C
ΔE00 6.38
Dark Magenta
#960056
ΔE00 6.54
Dark Fuchsia
#9D0759
ΔE00 6.74
Bruise
#7E4071
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#931F71 #1F9341
analogous
#7B1F93 #931F71 #931F37
triadic
#931F71 #71931F #1F7193
tetradic
#931F71 #937B1F #1F9341 #1F3793
square
#931F71 #937B1F #1F9341 #1F3793
split-complementary
#931F71 #37931F #1F937B
monochromatic
#2E0A23 #60144A #931F71 #C62A98 #DA52B2
Accessibility & contrast
On white
7.85
#931F71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#931F71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #931F71
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##931F71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##931F71 | 1.00 | 7.85 | 2.68 | 7.85 |
| #FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4673
Deuteranopia (green-blind)
#51596E
Tritanopia (blue-blind)
#9D2046
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #931f71; /* rgb */ color: rgb(147, 31, 113); /* oklch */ color: oklch(46.0% 0.172 342.8);
Tailwind
colors: {
custom: {
50: '#b7689a',
500: '#931f71',
950: '#000000',
},
}SCSS
$custom: #931f71; $custom-light: #b7689a; $custom-dark: #000000;
JSON
{
"hex": "#931f71",
"rgb": {
"r": 147,
"g": 31,
"b": 113
},
"hsl": {
"h": 317.586,
"s": 65.169,
"l": 34.902
},
"oklch": {
"l": 0.46036,
"c": 0.1717,
"h": 342.8
},
"luminance": 0.08375
}Semantic roles & 50–950 ramp
primary
#931F71
secondary
#50BE70
accent
#E87140
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E