#782256#782256
#782256 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.132 H 347.4°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #782256 |
|---|---|
| RGB | rgb(120, 34, 86) |
| HSL | hsl(324, 56%, 30%) |
| HSV | hsv(324, 72%, 47%) |
| CMYK | cmyk(0%, 71.7%, 28.3%, 52.9%) |
| CIE-LAB | lab(28.93, 42.37, -10.92) |
| CIE-LCH | lch(28.93, 43.76, 345.55°) |
| OKLab | oklab(40.47% 0.1286 -0.0288) |
| OKLCH | oklch(40.47% 0.132 347.4) |
| XYZ | xyz(9.9979, 5.8101, 9.3972) |
| Luminance | 0.0581 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.38
Rich Purple
#720058
ΔE00 5.21
Red Purple
#820747
ΔE00 5.33
Grape
#6C3461
ΔE00 5.56
Reddish Purple
#910951
ΔE00 6.06
Dark Magenta
#960056
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#782256 #227844
analogous
#6F2278 #782256 #78222B
triadic
#782256 #567822 #225678
tetradic
#782256 #786F22 #227844 #222B78
square
#782256 #786F22 #227844 #222B78
split-complementary
#782256 #2B7822 #22786F
monochromatic
#190712 #481434 #782256 #A83078 #CB4998
Accessibility & contrast
On white
9.71
#782256 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#782256 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #782256
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##782256 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##782256 | 1.00 | 9.71 | 2.16 | 9.71 |
| #FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D3B57
Deuteranopia (green-blind)
#464A54
Tritanopia (blue-blind)
#811F39
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #782256; /* rgb */ color: rgb(120, 34, 86); /* oklch */ color: oklch(40.5% 0.132 347.4);
Tailwind
colors: {
custom: {
50: '#a26585',
500: '#782256',
950: '#000000',
},
}SCSS
$custom: #782256; $custom-light: #a26585; $custom-dark: #000000;
JSON
{
"hex": "#782256",
"rgb": {
"r": 120,
"g": 34,
"b": 86
},
"hsl": {
"h": 323.721,
"s": 55.844,
"l": 30.196
},
"oklch": {
"l": 0.4047,
"c": 0.13176,
"h": 347.4
},
"luminance": 0.05809
}Semantic roles & 50–950 ramp
primary
#782256
secondary
#4BAB71
accent
#DF8449
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#0F060B
muted
#7F7A7C