#752162#752162
#752162 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.4% C 0.139 H 338.2°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #752162 |
|---|---|
| RGB | rgb(117, 33, 98) |
| HSL | hsl(314, 56%, 29%) |
| HSV | hsv(314, 72%, 46%) |
| CMYK | cmyk(0%, 71.8%, 16.2%, 54.1%) |
| CIE-LAB | lab(28.78, 43.70, -19.03) |
| CIE-LCH | lch(28.78, 47.66, 336.46°) |
| OKLab | oklab(40.44% 0.1291 -0.0515) |
| OKLCH | oklch(40.44% 0.139 338.2) |
| XYZ | xyz(10.0848, 5.7524, 12.1321) |
| Luminance | 0.0575 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.85
Velvet
#750851
ΔE00 4.43
Darkish Purple
#751973
ΔE00 4.64
Grape
#6C3461
ΔE00 4.74
Grape Purple
#5D1451
ΔE00 5.45
Purple
#800080
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#752162 #217534
analogous
#5E2175 #752162 #752138
triadic
#752162 #627521 #216275
tetradic
#752162 #755E21 #217534 #213875
square
#752162 #755E21 #217534 #213875
split-complementary
#752162 #387521 #21755E
monochromatic
#180714 #45143A #752162 #A52E8A #CB46AD
Accessibility & contrast
On white
9.77
#752162 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#752162 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #752162
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##752162 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##752162 | 1.00 | 9.77 | 2.15 | 9.77 |
| #FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#253B64
Deuteranopia (green-blind)
#404960
Tritanopia (blue-blind)
#7C253E
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #752162; /* rgb */ color: rgb(117, 33, 98); /* oklch */ color: oklch(40.4% 0.139 338.2);
Tailwind
colors: {
custom: {
50: '#a0648f',
500: '#752162',
950: '#000000',
},
}SCSS
$custom: #752162; $custom-light: #a0648f; $custom-dark: #000000;
JSON
{
"hex": "#752162",
"rgb": {
"r": 117,
"g": 33,
"b": 98
},
"hsl": {
"h": 313.571,
"s": 56,
"l": 29.412
},
"oklch": {
"l": 0.40435,
"c": 0.13906,
"h": 338.2
},
"luminance": 0.05751
}Semantic roles & 50–950 ramp
primary
#752162
secondary
#4AA85F
accent
#DF6B49
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D