#762162#762162
#762162 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.140 H 338.7°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #762162 |
|---|---|
| RGB | rgb(118, 33, 98) |
| HSL | hsl(314, 56%, 30%) |
| HSV | hsv(314, 72%, 46%) |
| CMYK | cmyk(0%, 72%, 16.9%, 53.7%) |
| CIE-LAB | lab(28.96, 43.97, -18.74) |
| CIE-LCH | lch(28.96, 47.80, 336.92°) |
| OKLab | oklab(40.6% 0.1302 -0.0507) |
| OKLCH | oklch(40.6% 0.14 338.7) |
| XYZ | xyz(10.2199, 5.8220, 12.1384) |
| Luminance | 0.0582 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.88
Velvet
#750851
ΔE00 4.36
Darkish Purple
#751973
ΔE00 4.77
Grape
#6C3461
ΔE00 4.78
Grape Purple
#5D1451
ΔE00 5.62
Bruise
#7E4071
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#762162 #217635
analogous
#602176 #762162 #762137
triadic
#762162 #627621 #216276
tetradic
#762162 #766021 #217635 #213776
square
#762162 #766021 #217635 #213776
split-complementary
#762162 #377621 #217660
monochromatic
#180714 #46143A #762162 #A62E8A #CB46AC
Accessibility & contrast
On white
9.70
#762162 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#762162 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #762162
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##762162 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##762162 | 1.00 | 9.70 | 2.16 | 9.70 |
| #FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#253C64
Deuteranopia (green-blind)
#404960
Tritanopia (blue-blind)
#7D243E
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #762162; /* rgb */ color: rgb(118, 33, 98); /* oklch */ color: oklch(40.6% 0.140 338.7);
Tailwind
colors: {
custom: {
50: '#a0648f',
500: '#762162',
950: '#000000',
},
}SCSS
$custom: #762162; $custom-light: #a0648f; $custom-dark: #000000;
JSON
{
"hex": "#762162",
"rgb": {
"r": 118,
"g": 33,
"b": 98
},
"hsl": {
"h": 314.118,
"s": 56.291,
"l": 29.608
},
"oklch": {
"l": 0.406,
"c": 0.13976,
"h": 338.7
},
"luminance": 0.05821
}Semantic roles & 50–950 ramp
primary
#762162
secondary
#4AA960
accent
#E06C48
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D