#782252#782252
#782252 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.129 H 350.1°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #782252 |
|---|---|
| RGB | rgb(120, 34, 82) |
| HSL | hsl(327, 56%, 30%) |
| HSV | hsv(327, 72%, 47%) |
| CMYK | cmyk(0%, 71.7%, 31.7%, 52.9%) |
| CIE-LAB | lab(28.77, 41.83, -8.54) |
| CIE-LCH | lch(28.77, 42.69, 348.47°) |
| OKLab | oklab(40.3% 0.1275 -0.0222) |
| OKLCH | oklch(40.3% 0.129 350.1) |
| XYZ | xyz(9.8412, 5.7474, 8.5721) |
| Luminance | 0.0575 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.79
Red Purple
#820747
ΔE00 4.48
Reddish Purple
#910951
ΔE00 5.51
Rich Purple
#720058
ΔE00 6.01
Dark Magenta
#960056
ΔE00 6.04
Wine (survey)
#80013F
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#782252 #227848
analogous
#732278 #782252 #782227
triadic
#782252 #527822 #225278
tetradic
#782252 #787322 #227848 #222778
square
#782252 #787322 #227848 #222778
split-complementary
#782252 #277822 #227873
monochromatic
#190711 #481431 #782252 #A83073 #CB4992
Accessibility & contrast
On white
9.77
#782252 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#782252 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #782252
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##782252 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##782252 | 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)
#2F3A53
Deuteranopia (green-blind)
#474950
Tritanopia (blue-blind)
#811D37
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #782252; /* rgb */ color: rgb(120, 34, 82); /* oklch */ color: oklch(40.3% 0.129 350.1);
Tailwind
colors: {
custom: {
50: '#a26482',
500: '#782252',
950: '#000000',
},
}SCSS
$custom: #782252; $custom-light: #a26482; $custom-dark: #000000;
JSON
{
"hex": "#782252",
"rgb": {
"r": 120,
"g": 34,
"b": 82
},
"hsl": {
"h": 326.512,
"s": 55.844,
"l": 30.196
},
"oklch": {
"l": 0.40298,
"c": 0.12942,
"h": 350.1
},
"luminance": 0.05746
}Semantic roles & 50–950 ramp
primary
#782252
secondary
#4BAB75
accent
#DF8B49
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#0F060A
muted
#7F7A7C