#791962#791962
#791962 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.4% C 0.151 H 339.7°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #791962 |
|---|---|
| RGB | rgb(121, 25, 98) |
| HSL | hsl(314, 66%, 29%) |
| HSV | hsv(314, 79%, 47%) |
| CMYK | cmyk(0%, 79.3%, 19%, 52.5%) |
| CIE-LAB | lab(28.49, 47.65, -19.42) |
| CIE-LCH | lch(28.49, 51.46, 337.83°) |
| OKLab | oklab(40.37% 0.1421 -0.0525) |
| OKLCH | oklch(40.37% 0.151 339.7) |
| XYZ | xyz(10.4377, 5.6431, 12.0924) |
| Luminance | 0.0564 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.06
Velvet
#750851
ΔE00 3.83
Darkish Purple
#751973
ΔE00 4.58
Grape Purple
#5D1451
ΔE00 5.76
Grape
#6C3461
ΔE00 6.01
Purple
#800080
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#791962 #197930
analogous
#601979 #791962 #791932
triadic
#791962 #627919 #196279
tetradic
#791962 #796019 #197930 #193279
square
#791962 #796019 #197930 #193279
split-complementary
#791962 #327919 #197960
monochromatic
#190515 #460F39 #791962 #AC238B #D637B0
Accessibility & contrast
On white
9.87
#791962 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#791962 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #791962
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##791962 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##791962 | 1.00 | 9.87 | 2.13 | 9.87 |
| #FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#203A64
Deuteranopia (green-blind)
#404960
Tritanopia (blue-blind)
#801D3C
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #791962; /* rgb */ color: rgb(121, 25, 98); /* oklch */ color: oklch(40.4% 0.151 339.7);
Tailwind
colors: {
custom: {
50: '#a3618f',
500: '#791962',
950: '#000000',
},
}SCSS
$custom: #791962; $custom-light: #a3618f; $custom-dark: #000000;
JSON
{
"hex": "#791962",
"rgb": {
"r": 121,
"g": 25,
"b": 98
},
"hsl": {
"h": 314.375,
"s": 65.753,
"l": 28.627
},
"oklch": {
"l": 0.40368,
"c": 0.15149,
"h": 339.7
},
"luminance": 0.05642
}Semantic roles & 50–950 ramp
primary
#791962
secondary
#40AE5A
accent
#E9683F
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D