#792057#792057
#792057 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.136 H 346.9°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #792057 |
|---|---|
| RGB | rgb(121, 32, 87) |
| HSL | hsl(323, 58%, 30%) |
| HSV | hsv(323, 74%, 47%) |
| CMYK | cmyk(0%, 73.6%, 28.1%, 52.5%) |
| CIE-LAB | lab(28.87, 43.60, -11.65) |
| CIE-LCH | lch(28.87, 45.13, 345.04°) |
| OKLab | oklab(40.48% 0.1323 -0.0308) |
| OKLCH | oklch(40.48% 0.136 346.9) |
| XYZ | xyz(10.1224, 5.7872, 9.5989) |
| Luminance | 0.0579 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.07
Rich Purple
#720058
ΔE00 4.82
Red Purple
#820747
ΔE00 5.37
Grape
#6C3461
ΔE00 5.73
Reddish Purple
#910951
ΔE00 6.01
Dark Magenta
#960056
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#792057 #207942
analogous
#6E2079 #792057 #79202B
triadic
#792057 #577920 #205779
tetradic
#792057 #796E20 #207942 #202B79
square
#792057 #796E20 #207942 #202B79
split-complementary
#792057 #2B7920 #20796E
monochromatic
#180611 #491334 #792057 #A92D7A #CE459A
Accessibility & contrast
On white
9.73
#792057 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#792057 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #792057
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##792057 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##792057 | 1.00 | 9.73 | 2.16 | 9.73 |
| #FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C3A59
Deuteranopia (green-blind)
#464A55
Tritanopia (blue-blind)
#821D38
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #792057; /* rgb */ color: rgb(121, 32, 87); /* oklch */ color: oklch(40.5% 0.136 346.9);
Tailwind
colors: {
custom: {
50: '#a36486',
500: '#792057',
950: '#000000',
},
}SCSS
$custom: #792057; $custom-light: #a36486; $custom-dark: #000000;
JSON
{
"hex": "#792057",
"rgb": {
"r": 121,
"g": 32,
"b": 87
},
"hsl": {
"h": 322.921,
"s": 58.17,
"l": 30
},
"oklch": {
"l": 0.40476,
"c": 0.13586,
"h": 346.9
},
"luminance": 0.05786
}Semantic roles & 50–950 ramp
primary
#792057
secondary
#49AC6F
accent
#E18246
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C