#781F5F#781F5F
#781F5F is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.142 H 341.3°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #781F5F |
|---|---|
| RGB | rgb(120, 31, 95) |
| HSL | hsl(317, 59%, 30%) |
| HSV | hsv(317, 74%, 47%) |
| CMYK | cmyk(0%, 74.2%, 20.8%, 52.9%) |
| CIE-LAB | lab(28.90, 44.85, -16.85) |
| CIE-LCH | lch(28.90, 47.91, 339.41°) |
| OKLab | oklab(40.58% 0.1342 -0.0453) |
| OKLCH | oklch(40.58% 0.142 341.3) |
| XYZ | xyz(10.3016, 5.8003, 11.4013) |
| Luminance | 0.0580 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.58
Rich Purple
#720058
ΔE00 3.69
Grape
#6C3461
ΔE00 5.16
Darkish Purple
#751973
ΔE00 5.63
Grape Purple
#5D1451
ΔE00 5.89
Red Violet
#9E0168
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781F5F #1F7838
analogous
#651F78 #781F5F #781F33
triadic
#781F5F #5F781F #1F5F78
tetradic
#781F5F #78651F #1F7838 #1F3378
square
#781F5F #78651F #1F7838 #1F3378
split-complementary
#781F5F #33781F #1F7865
monochromatic
#180613 #471238 #781F5F #A92C86 #CE43A7
Accessibility & contrast
On white
9.72
#781F5F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#781F5F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781F5F
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781F5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781F5F | 1.00 | 9.72 | 2.16 | 9.72 |
| #FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#263B61
Deuteranopia (green-blind)
#42495D
Tritanopia (blue-blind)
#80213C
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #781f5f; /* rgb */ color: rgb(120, 31, 95); /* oklch */ color: oklch(40.6% 0.142 341.3);
Tailwind
colors: {
custom: {
50: '#a2638c',
500: '#781f5f',
950: '#000000',
},
}SCSS
$custom: #781f5f; $custom-light: #a2638c; $custom-dark: #000000;
JSON
{
"hex": "#781f5f",
"rgb": {
"r": 120,
"g": 31,
"b": 95
},
"hsl": {
"h": 316.854,
"s": 58.94,
"l": 29.608
},
"oklch": {
"l": 0.40582,
"c": 0.14164,
"h": 341.3
},
"luminance": 0.05799
}Semantic roles & 50–950 ramp
primary
#781F5F
secondary
#47AB63
accent
#E27246
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D