#791862#791862
#791862 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.153 H 339.7°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).
Color values
| HEX | #791862 |
|---|---|
| RGB | rgb(121, 24, 98) |
| HSL | hsl(314, 67%, 28%) |
| HSV | hsv(314, 80%, 47%) |
| CMYK | cmyk(0%, 80.2%, 19%, 52.5%) |
| CIE-LAB | lab(28.38, 47.97, -19.59) |
| CIE-LCH | lch(28.38, 51.82, 337.78°) |
| OKLab | oklab(40.29% 0.1431 -0.053) |
| OKLCH | oklch(40.29% 0.153 339.7) |
| XYZ | xyz(10.4167, 5.6011, 12.0854) |
| Luminance | 0.0560 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 2.96
Velvet
#750851
ΔE00 3.81
Darkish Purple
#751973
ΔE00 4.53
Grape Purple
#5D1451
ΔE00 5.73
Grape
#6C3461
ΔE00 6.13
Purple
#800080
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#791862 #18792F
analogous
#5F1879 #791862 #791831
triadic
#791862 #627918 #186279
tetradic
#791862 #795F18 #18792F #183179
square
#791862 #795F18 #18792F #183179
split-complementary
#791862 #317918 #18795F
monochromatic
#1A0515 #460E39 #791862 #AC228B #D735B0
Accessibility & contrast
On white
9.91
#791862 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#791862 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #791862
9.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##791862 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##791862 | 1.00 | 9.91 | 2.12 | 9.91 |
| #FFFFFF | 9.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F3964
Deuteranopia (green-blind)
#3F4860
Tritanopia (blue-blind)
#801C3B
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #791862; /* rgb */ color: rgb(121, 24, 98); /* oklch */ color: oklch(40.3% 0.153 339.7);
Tailwind
colors: {
custom: {
50: '#a3618f',
500: '#791862',
950: '#000000',
},
}SCSS
$custom: #791862; $custom-light: #a3618f; $custom-dark: #000000;
JSON
{
"hex": "#791862",
"rgb": {
"r": 121,
"g": 24,
"b": 98
},
"hsl": {
"h": 314.227,
"s": 66.897,
"l": 28.431
},
"oklch": {
"l": 0.40288,
"c": 0.15255,
"h": 339.7
},
"luminance": 0.056
}Semantic roles & 50–950 ramp
primary
#791862
secondary
#3FAE59
accent
#EA673E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D