#791F58#791F58
#791F58 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.4% C 0.138 H 346.1°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #791F58 |
|---|---|
| RGB | rgb(121, 31, 88) |
| HSL | hsl(322, 59%, 30%) |
| HSV | hsv(322, 74%, 47%) |
| CMYK | cmyk(0%, 74.4%, 27.3%, 52.5%) |
| CIE-LAB | lab(28.77, 44.12, -12.45) |
| CIE-LCH | lch(28.77, 45.85, 344.24°) |
| OKLab | oklab(40.42% 0.1338 -0.033) |
| OKLCH | oklch(40.42% 0.138 346.1) |
| XYZ | xyz(10.1370, 5.7506, 9.8068) |
| Luminance | 0.0575 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.90
Rich Purple
#720058
ΔE00 4.48
Red Purple
#820747
ΔE00 5.61
Grape
#6C3461
ΔE00 5.70
Reddish Purple
#910951
ΔE00 6.20
Dark Magenta
#960056
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#791F58 #1F7940
analogous
#6D1F79 #791F58 #791F2B
triadic
#791F58 #58791F #1F5879
tetradic
#791F58 #796D1F #1F7940 #1F2B79
square
#791F58 #796D1F #1F7940 #1F2B79
split-complementary
#791F58 #2B791F #1F796D
monochromatic
#180612 #481335 #791F58 #AA2B7B #CF439C
Accessibility & contrast
On white
9.77
#791F58 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#791F58 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #791F58
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##791F58 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##791F58 | 1.00 | 9.77 | 2.15 | 9.77 |
| #FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A3A5A
Deuteranopia (green-blind)
#454956
Tritanopia (blue-blind)
#821D38
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #791f58; /* rgb */ color: rgb(121, 31, 88); /* oklch */ color: oklch(40.4% 0.138 346.1);
Tailwind
colors: {
custom: {
50: '#a36387',
500: '#791f58',
950: '#000000',
},
}SCSS
$custom: #791f58; $custom-light: #a36387; $custom-dark: #000000;
JSON
{
"hex": "#791f58",
"rgb": {
"r": 121,
"g": 31,
"b": 88
},
"hsl": {
"h": 322,
"s": 59.211,
"l": 29.804
},
"oklch": {
"l": 0.4042,
"c": 0.13778,
"h": 346.1
},
"luminance": 0.0575
}Semantic roles & 50–950 ramp
primary
#791F58
secondary
#47AC6C
accent
#E27F45
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C