#662452#662452
#662452 is a dark, moderate pink. Relative luminance 0.047; OKLCH L 37.5% C 0.111 H 341.3°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).
Color values
| HEX | #662452 |
|---|---|
| RGB | rgb(102, 36, 82) |
| HSL | hsl(318, 48%, 27%) |
| HSV | hsv(318, 65%, 40%) |
| CMYK | cmyk(0%, 64.7%, 19.6%, 60%) |
| CIE-LAB | lab(25.85, 35.33, -13.27) |
| CIE-LCH | lch(25.85, 37.74, 339.41°) |
| OKLab | oklab(37.53% 0.1051 -0.0356) |
| OKLCH | oklch(37.53% 0.111 341.3) |
| XYZ | xyz(7.6335, 4.6964, 8.4855) |
| Luminance | 0.0470 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Grape Purple
#5D1451
ΔE00 4.26
Grape
#6C3461
ΔE00 4.31
Velvet
#750851
ΔE00 4.77
Plum (survey)
#580F41
ΔE00 4.84
Rich Purple
#720058
ΔE00 5.36
Darkish Purple
#751973
ΔE00 8.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#662452 #246638
analogous
#592466 #662452 #662431
triadic
#662452 #526624 #245266
tetradic
#662452 #665924 #246638 #243166
square
#662452 #665924 #246638 #243166
split-complementary
#662452 #316624 #246659
monochromatic
#170812 #39142E #662452 #933476 #BE479A
Accessibility & contrast
On white
10.83
#662452 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#662452 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #662452
10.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##662452 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##662452 | 1.00 | 10.83 | 1.94 | 10.83 |
| #FFFFFF | 10.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#283653
Deuteranopia (green-blind)
#3C4150
Tritanopia (blue-blind)
#6C2537
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #662452; /* rgb */ color: rgb(102, 36, 82); /* oklch */ color: oklch(37.5% 0.111 341.3);
Tailwind
colors: {
custom: {
50: '#946382',
500: '#662452',
950: '#000000',
},
}SCSS
$custom: #662452; $custom-light: #946382; $custom-dark: #000000;
JSON
{
"hex": "#662452",
"rgb": {
"r": 102,
"g": 36,
"b": 82
},
"hsl": {
"h": 318.182,
"s": 47.826,
"l": 27.059
},
"oklch": {
"l": 0.37532,
"c": 0.11098,
"h": 341.3
},
"luminance": 0.04696
}Semantic roles & 50–950 ramp
primary
#662452
secondary
#4C9964
accent
#D77950
background
#F9F6F8
surface
#F2EBEF
border
#CCC6CA
text
#0D050A
muted
#7E7A7C