#791F52#791F52
#791F52 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.2% C 0.134 H 350.1°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #791F52 |
|---|---|
| RGB | rgb(121, 31, 82) |
| HSL | hsl(326, 59%, 30%) |
| HSV | hsv(326, 74%, 47%) |
| CMYK | cmyk(0%, 74.4%, 32.2%, 52.5%) |
| CIE-LAB | lab(28.53, 43.32, -8.88) |
| CIE-LCH | lch(28.53, 44.22, 348.42°) |
| OKLab | oklab(40.16% 0.1322 -0.0232) |
| OKLCH | oklch(40.16% 0.134 350.1) |
| XYZ | xyz(9.8987, 5.6552, 8.5513) |
| Luminance | 0.0565 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.34
Red Purple
#820747
ΔE00 4.21
Reddish Purple
#910951
ΔE00 5.26
Rich Purple
#720058
ΔE00 5.63
Dark Magenta
#960056
ΔE00 5.75
Wine (survey)
#80013F
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#791F52 #1F7946
analogous
#731F79 #791F52 #791F25
triadic
#791F52 #52791F #1F5279
tetradic
#791F52 #79731F #1F7946 #1F2579
square
#791F52 #79731F #1F7946 #1F2579
split-complementary
#791F52 #25791F #1F7973
monochromatic
#180611 #481331 #791F52 #AA2B73 #CF4393
Accessibility & contrast
On white
9.86
#791F52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#791F52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #791F52
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##791F52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##791F52 | 1.00 | 9.86 | 2.13 | 9.86 |
| #FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D3953
Deuteranopia (green-blind)
#474950
Tritanopia (blue-blind)
#821A35
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #791f52; /* rgb */ color: rgb(121, 31, 82); /* oklch */ color: oklch(40.2% 0.134 350.1);
Tailwind
colors: {
custom: {
50: '#a36382',
500: '#791f52',
950: '#000000',
},
}SCSS
$custom: #791f52; $custom-light: #a36382; $custom-dark: #000000;
JSON
{
"hex": "#791f52",
"rgb": {
"r": 121,
"g": 31,
"b": 82
},
"hsl": {
"h": 326,
"s": 59.211,
"l": 29.804
},
"oklch": {
"l": 0.40157,
"c": 0.13424,
"h": 350.1
},
"luminance": 0.05654
}Semantic roles & 50–950 ramp
primary
#791F52
secondary
#47AC73
accent
#E28945
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C