#711157#711157
#711157 is a dark, vivid pink. Relative luminance 0.046; OKLCH L 37.8% C 0.147 H 342.0°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).
Color values
| HEX | #711157 |
|---|---|
| RGB | rgb(113, 17, 87) |
| HSL | hsl(316, 74%, 25%) |
| HSV | hsv(316, 85%, 44%) |
| CMYK | cmyk(0%, 85%, 23%, 55.7%) |
| CIE-LAB | lab(25.57, 46.44, -16.86) |
| CIE-LCH | lch(25.57, 49.41, 340.04°) |
| OKLab | oklab(37.79% 0.1399 -0.0453) |
| OKLCH | oklch(37.79% 0.147 342) |
| XYZ | xyz(8.7311, 4.6007, 9.4432) |
| Luminance | 0.0460 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 1.56
Velvet
#750851
ΔE00 2.10
Grape Purple
#5D1451
ΔE00 4.14
Plum (survey)
#580F41
ΔE00 5.68
Darkish Purple
#751973
ΔE00 6.13
Grape
#6C3461
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#711157 #11712B
analogous
#5B1171 #711157 #711127
triadic
#711157 #577111 #115771
tetradic
#711157 #715B11 #11712B #112771
square
#711157 #715B11 #11712B #112771
split-complementary
#711157 #277111 #11715B
monochromatic
#1B0414 #3C092E #711157 #A61980 #DB21A9
Accessibility & contrast
On white
10.94
#711157 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#711157 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #711157
10.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##711157 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##711157 | 1.00 | 10.94 | 1.92 | 10.94 |
| #FFFFFF | 10.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C3359
Deuteranopia (green-blind)
#3B4255
Tritanopia (blue-blind)
#791333
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #711157; /* rgb */ color: rgb(113, 17, 87); /* oklch */ color: oklch(37.8% 0.147 342.0);
Tailwind
colors: {
custom: {
50: '#9d5d86',
500: '#711157',
950: '#000000',
},
}SCSS
$custom: #711157; $custom-light: #9d5d86; $custom-dark: #000000;
JSON
{
"hex": "#711157",
"rgb": {
"r": 113,
"g": 17,
"b": 87
},
"hsl": {
"h": 316.25,
"s": 73.846,
"l": 25.49
},
"oklch": {
"l": 0.37791,
"c": 0.14702,
"h": 342
},
"luminance": 0.046
}Semantic roles & 50–950 ramp
primary
#711157
secondary
#36A855
accent
#F16937
background
#FAF5F8
surface
#F3E9EF
border
#CDC5CA
text
#0F050B
muted
#7F797C