#792157#792157
#792157 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.135 H 347.0°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #792157 |
|---|---|
| RGB | rgb(121, 33, 87) |
| HSL | hsl(323, 57%, 30%) |
| HSV | hsv(323, 73%, 47%) |
| CMYK | cmyk(0%, 72.7%, 28.1%, 52.5%) |
| CIE-LAB | lab(29.01, 43.21, -11.44) |
| CIE-LCH | lch(29.01, 44.69, 345.17°) |
| OKLab | oklab(40.58% 0.1311 -0.0302) |
| OKLCH | oklch(40.58% 0.135 347) |
| XYZ | xyz(10.1498, 5.8419, 9.6080) |
| Luminance | 0.0584 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.24
Rich Purple
#720058
ΔE00 4.99
Red Purple
#820747
ΔE00 5.38
Grape
#6C3461
ΔE00 5.64
Reddish Purple
#910951
ΔE00 6.00
Dark Magenta
#960056
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#792157 #217943
analogous
#6F2179 #792157 #79212B
triadic
#792157 #577921 #215779
tetradic
#792157 #796F21 #217943 #212B79
square
#792157 #796F21 #217943 #212B79
split-complementary
#792157 #2B7921 #21796F
monochromatic
#190712 #491434 #792157 #A92E7A #CD4799
Accessibility & contrast
On white
9.69
#792157 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#792157 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #792157
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##792157 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##792157 | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C3B59
Deuteranopia (green-blind)
#464A55
Tritanopia (blue-blind)
#821E39
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #792157; /* rgb */ color: rgb(121, 33, 87); /* oklch */ color: oklch(40.6% 0.135 347.0);
Tailwind
colors: {
custom: {
50: '#a36486',
500: '#792157',
950: '#000000',
},
}SCSS
$custom: #792157; $custom-light: #a36486; $custom-dark: #000000;
JSON
{
"hex": "#792157",
"rgb": {
"r": 121,
"g": 33,
"b": 87
},
"hsl": {
"h": 323.182,
"s": 57.143,
"l": 30.196
},
"oklch": {
"l": 0.40579,
"c": 0.13454,
"h": 347
},
"luminance": 0.05841
}Semantic roles & 50–950 ramp
primary
#792157
secondary
#4AAC70
accent
#E08347
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C