#781B4B#781B4B
#781B4B is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.3% C 0.135 H 353.8°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).
Color values
| HEX | #781B4B |
|---|---|
| RGB | rgb(120, 27, 75) |
| HSL | hsl(329, 63%, 29%) |
| HSV | hsv(329, 78%, 47%) |
| CMYK | cmyk(0%, 77.5%, 37.5%, 52.9%) |
| CIE-LAB | lab(27.53, 43.64, -5.74) |
| CIE-LCH | lch(27.53, 44.02, 352.50°) |
| OKLab | oklab(39.31% 0.1339 -0.0146) |
| OKLCH | oklch(39.31% 0.135 353.8) |
| XYZ | xyz(9.4083, 5.2861, 7.1801) |
| Luminance | 0.0529 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.92
Velvet
#750851
ΔE00 3.98
Wine (survey)
#80013F
ΔE00 4.34
Merlot
#730039
ΔE00 4.54
Reddish Purple
#910951
ΔE00 4.85
Mulberry
#920A4E
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781B4B #1B7848
analogous
#771B78 #781B4B #781B1D
triadic
#781B4B #4B781B #1B4B78
tetradic
#781B4B #78771B #1B7848 #1B1D78
square
#781B4B #78771B #1B7848 #1B1D78
split-complementary
#781B4B #1D781B #1B7877
monochromatic
#190610 #46102C #781B4B #AA266A #D33B89
Accessibility & contrast
On white
10.21
#781B4B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#781B4B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781B4B
10.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781B4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781B4B | 1.00 | 10.21 | 2.06 | 10.21 |
| #FFFFFF | 10.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D364C
Deuteranopia (green-blind)
#474749
Tritanopia (blue-blind)
#821230
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #781b4b; /* rgb */ color: rgb(120, 27, 75); /* oklch */ color: oklch(39.3% 0.135 353.8);
Tailwind
colors: {
custom: {
50: '#a3617d',
500: '#781b4b',
950: '#000000',
},
}SCSS
$custom: #781b4b; $custom-light: #a3617d; $custom-dark: #000000;
JSON
{
"hex": "#781b4b",
"rgb": {
"r": 120,
"g": 27,
"b": 75
},
"hsl": {
"h": 329.032,
"s": 63.265,
"l": 28.824
},
"oklch": {
"l": 0.39307,
"c": 0.13468,
"h": 353.8
},
"luminance": 0.05285
}Semantic roles & 50–950 ramp
primary
#781B4B
secondary
#43AC76
accent
#E69141
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B