#78254C#78254C
#78254C is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.4% C 0.122 H 355.0°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #78254C |
|---|---|
| RGB | rgb(120, 37, 76) |
| HSL | hsl(332, 53%, 31%) |
| HSV | hsv(332, 69%, 47%) |
| CMYK | cmyk(0%, 69.2%, 36.7%, 52.9%) |
| CIE-LAB | lab(29.00, 39.78, -4.22) |
| CIE-LCH | lch(29.00, 40.00, 353.95°) |
| OKLab | oklab(40.4% 0.1216 -0.0106) |
| OKLCH | oklch(40.4% 0.122 355) |
| XYZ | xyz(9.7124, 5.8391, 7.4517) |
| Luminance | 0.0584 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.93
Wine (survey)
#80013F
ΔE00 4.98
Reddish Purple
#910951
ΔE00 5.29
Merlot
#730039
ΔE00 5.43
Mulberry
#920A4E
ΔE00 5.53
Velvet
#750851
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#78254C #257851
analogous
#782575 #78254C #782725
triadic
#78254C #4C7825 #254C78
tetradic
#78254C #757825 #257851 #272578
square
#78254C #757825 #257851 #272578
split-complementary
#78254C #257827 #257578
monochromatic
#1A0811 #49172E #78254C #A7336A #C94F88
Accessibility & contrast
On white
9.69
#78254C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#78254C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #78254C
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##78254C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##78254C | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#333B4D
Deuteranopia (green-blind)
#4A4A4A
Tritanopia (blue-blind)
#821E35
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #78254c; /* rgb */ color: rgb(120, 37, 76); /* oklch */ color: oklch(40.4% 0.122 355.0);
Tailwind
colors: {
custom: {
50: '#a2667e',
500: '#78254c',
950: '#000000',
},
}SCSS
$custom: #78254c; $custom-light: #a2667e; $custom-dark: #000000;
JSON
{
"hex": "#78254c",
"rgb": {
"r": 120,
"g": 37,
"b": 76
},
"hsl": {
"h": 331.807,
"s": 52.866,
"l": 30.784
},
"oklch": {
"l": 0.40398,
"c": 0.12209,
"h": 355
},
"luminance": 0.05838
}Semantic roles & 50–950 ramp
primary
#78254C
secondary
#4EAA7F
accent
#DC984C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#0F0609
muted
#7F7A7B