#912171#912171
#912171 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.9% C 0.168 H 342.2°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #912171 |
|---|---|
| RGB | rgb(145, 33, 113) |
| HSL | hsl(317, 63%, 35%) |
| HSV | hsv(317, 77%, 57%) |
| CMYK | cmyk(0%, 77.2%, 22.1%, 43.1%) |
| CIE-LAB | lab(34.60, 53.29, -19.21) |
| CIE-LCH | lch(34.60, 56.65, 340.18°) |
| OKLab | oklab(45.86% 0.1602 -0.0516) |
| OKLCH | oklch(45.86% 0.168 342.2) |
| XYZ | xyz(15.2021, 8.3013, 16.4213) |
| Luminance | 0.0830 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.86
Warm Purple
#952E8F
ΔE00 6.14
Deep Magenta
#A0025C
ΔE00 6.67
Dark Magenta
#960056
ΔE00 6.75
Bruise
#7E4071
ΔE00 6.77
Dark Fuchsia
#9D0759
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#912171 #219141
analogous
#792191 #912171 #912139
triadic
#912171 #719121 #217191
tetradic
#912171 #917921 #219141 #213991
square
#912171 #917921 #219141 #213991
split-complementary
#912171 #399121 #219179
monochromatic
#2D0A23 #5F164A #912171 #C32C98 #D854B2
Accessibility & contrast
On white
7.89
#912171 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#912171 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #912171
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##912171 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##912171 | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4673
Deuteranopia (green-blind)
#50586E
Tritanopia (blue-blind)
#9A2246
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #912171; /* rgb */ color: rgb(145, 33, 113); /* oklch */ color: oklch(45.9% 0.168 342.2);
Tailwind
colors: {
custom: {
50: '#b5699a',
500: '#912171',
950: '#000000',
},
}SCSS
$custom: #912171; $custom-light: #b5699a; $custom-dark: #000000;
JSON
{
"hex": "#912171",
"rgb": {
"r": 145,
"g": 33,
"b": 113
},
"hsl": {
"h": 317.143,
"s": 62.921,
"l": 34.902
},
"oklch": {
"l": 0.45856,
"c": 0.16831,
"h": 342.2
},
"luminance": 0.083
}Semantic roles & 50–950 ramp
primary
#912171
secondary
#52BC70
accent
#E67142
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E