#791C56#791C56
#791C56 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.0% C 0.140 H 347.1°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #791C56 |
|---|---|
| RGB | rgb(121, 28, 86) |
| HSL | hsl(323, 62%, 29%) |
| HSV | hsv(323, 77%, 47%) |
| CMYK | cmyk(0%, 76.9%, 28.9%, 52.5%) |
| CIE-LAB | lab(28.30, 44.96, -11.87) |
| CIE-LCH | lch(28.30, 46.50, 345.21°) |
| OKLab | oklab(40.04% 0.1367 -0.0313) |
| OKLCH | oklch(40.04% 0.14 347.1) |
| XYZ | xyz(9.9806, 5.5684, 9.3515) |
| Luminance | 0.0557 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.47
Rich Purple
#720058
ΔE00 4.34
Red Purple
#820747
ΔE00 5.15
Reddish Purple
#910951
ΔE00 5.92
Dark Magenta
#960056
ΔE00 6.13
Grape
#6C3461
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#791C56 #1C793F
analogous
#6E1C79 #791C56 #791C27
triadic
#791C56 #56791C #1C5679
tetradic
#791C56 #796E1C #1C793F #1C2779
square
#791C56 #796E1C #1C793F #1C2779
split-complementary
#791C56 #27791C #1C796E
monochromatic
#190612 #471033 #791C56 #AB2879 #D23D9A
Accessibility & contrast
On white
9.94
#791C56 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#791C56 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #791C56
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##791C56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##791C56 | 1.00 | 9.94 | 2.11 | 9.94 |
| #FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#293958
Deuteranopia (green-blind)
#454954
Tritanopia (blue-blind)
#821936
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #791c56; /* rgb */ color: rgb(121, 28, 86); /* oklch */ color: oklch(40.0% 0.140 347.1);
Tailwind
colors: {
custom: {
50: '#a36285',
500: '#791c56',
950: '#000000',
},
}SCSS
$custom: #791c56; $custom-light: #a36285; $custom-dark: #000000;
JSON
{
"hex": "#791c56",
"rgb": {
"r": 121,
"g": 28,
"b": 86
},
"hsl": {
"h": 322.581,
"s": 62.416,
"l": 29.216
},
"oklch": {
"l": 0.40044,
"c": 0.14027,
"h": 347.1
},
"luminance": 0.05567
}Semantic roles & 50–950 ramp
primary
#791C56
secondary
#44AD6B
accent
#E58042
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C