#781B5F#781B5F
#781B5F is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.147 H 341.1°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #781B5F |
|---|---|
| RGB | rgb(120, 27, 95) |
| HSL | hsl(316, 63%, 29%) |
| HSV | hsv(316, 78%, 47%) |
| CMYK | cmyk(0%, 77.5%, 20.8%, 52.9%) |
| CIE-LAB | lab(28.39, 46.29, -17.64) |
| CIE-LCH | lch(28.39, 49.54, 339.14°) |
| OKLab | oklab(40.21% 0.1386 -0.0475) |
| OKLCH | oklch(40.21% 0.147 341.1) |
| XYZ | xyz(10.2035, 5.6042, 11.3686) |
| Luminance | 0.0560 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.11
Velvet
#750851
ΔE00 3.32
Darkish Purple
#751973
ΔE00 5.31
Grape Purple
#5D1451
ΔE00 5.65
Grape
#6C3461
ΔE00 5.67
Red Violet
#9E0168
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781B5F #1B7834
analogous
#631B78 #781B5F #781B31
triadic
#781B5F #5F781B #1B5F78
tetradic
#781B5F #78631B #1B7834 #1B3178
square
#781B5F #78631B #1B7834 #1B3178
split-complementary
#781B5F #31781B #1B7863
monochromatic
#190614 #461037 #781B5F #AA2687 #D33BAA
Accessibility & contrast
On white
9.90
#781B5F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#781B5F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781B5F
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781B5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781B5F | 1.00 | 9.90 | 2.12 | 9.90 |
| #FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#233961
Deuteranopia (green-blind)
#41485D
Tritanopia (blue-blind)
#801D3B
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #781b5f; /* rgb */ color: rgb(120, 27, 95); /* oklch */ color: oklch(40.2% 0.147 341.1);
Tailwind
colors: {
custom: {
50: '#a2628c',
500: '#781b5f',
950: '#000000',
},
}SCSS
$custom: #781b5f; $custom-light: #a2628c; $custom-dark: #000000;
JSON
{
"hex": "#781b5f",
"rgb": {
"r": 120,
"g": 27,
"b": 95
},
"hsl": {
"h": 316.129,
"s": 63.265,
"l": 28.824
},
"oklch": {
"l": 0.40211,
"c": 0.14652,
"h": 341.1
},
"luminance": 0.05603
}Semantic roles & 50–950 ramp
primary
#781B5F
secondary
#43AC5F
accent
#E66E41
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D