#781F5E#781F5E
#781F5E is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.141 H 342.0°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #781F5E |
|---|---|
| RGB | rgb(120, 31, 94) |
| HSL | hsl(318, 59%, 30%) |
| HSV | hsv(318, 74%, 47%) |
| CMYK | cmyk(0%, 74.2%, 21.7%, 52.9%) |
| CIE-LAB | lab(28.86, 44.70, -16.27) |
| CIE-LCH | lch(28.86, 47.57, 340.00°) |
| OKLab | oklab(40.53% 0.134 -0.0437) |
| OKLCH | oklch(40.53% 0.141 342) |
| XYZ | xyz(10.2564, 5.7822, 11.1634) |
| Luminance | 0.0578 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.42
Rich Purple
#720058
ΔE00 3.73
Grape
#6C3461
ΔE00 5.17
Darkish Purple
#751973
ΔE00 5.89
Grape Purple
#5D1451
ΔE00 5.93
Red Violet
#9E0168
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781F5E #1F7839
analogous
#661F78 #781F5E #781F32
triadic
#781F5E #5E781F #1F5E78
tetradic
#781F5E #78661F #1F7839 #1F3278
square
#781F5E #78661F #1F7839 #1F3278
split-complementary
#781F5E #32781F #1F7866
monochromatic
#180613 #471238 #781F5E #A92C84 #CE43A6
Accessibility & contrast
On white
9.74
#781F5E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#781F5E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781F5E
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781F5E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781F5E | 1.00 | 9.74 | 2.16 | 9.74 |
| #FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#273B60
Deuteranopia (green-blind)
#42495C
Tritanopia (blue-blind)
#80203B
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #781f5e; /* rgb */ color: rgb(120, 31, 94); /* oklch */ color: oklch(40.5% 0.141 342.0);
Tailwind
colors: {
custom: {
50: '#a2638b',
500: '#781f5e',
950: '#000000',
},
}SCSS
$custom: #781f5e; $custom-light: #a2638b; $custom-dark: #000000;
JSON
{
"hex": "#781f5e",
"rgb": {
"r": 120,
"g": 31,
"b": 94
},
"hsl": {
"h": 317.528,
"s": 58.94,
"l": 29.608
},
"oklch": {
"l": 0.40533,
"c": 0.14096,
"h": 342
},
"luminance": 0.05781
}Semantic roles & 50–950 ramp
primary
#781F5E
secondary
#47AB65
accent
#E27346
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D