#791162#791162
#791162 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.8% C 0.159 H 339.4°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).
Color values
| HEX | #791162 |
|---|---|
| RGB | rgb(121, 17, 98) |
| HSL | hsl(313, 75%, 27%) |
| HSV | hsv(313, 86%, 47%) |
| CMYK | cmyk(0%, 86%, 19%, 52.5%) |
| CIE-LAB | lab(27.71, 49.92, -20.65) |
| CIE-LCH | lch(27.71, 54.02, 337.53°) |
| OKLab | oklab(39.8% 0.149 -0.0559) |
| OKLCH | oklch(39.8% 0.159 339.4) |
| XYZ | xyz(10.2905, 5.3487, 12.0434) |
| Luminance | 0.0535 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 2.44
Velvet
#750851
ΔE00 3.79
Darkish Purple
#751973
ΔE00 4.31
Grape Purple
#5D1451
ΔE00 5.61
Purple
#800080
ΔE00 6.24
Grape
#6C3461
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#791162 #117928
analogous
#5C1179 #791162 #79112E
triadic
#791162 #627911 #116279
tetradic
#791162 #795C11 #117928 #112E79
square
#791162 #795C11 #117928 #112E79
split-complementary
#791162 #2E7911 #11795C
monochromatic
#1B0416 #430937 #791162 #AF198D #E024B7
Accessibility & contrast
On white
10.15
#791162 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#791162 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #791162
10.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##791162 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##791162 | 1.00 | 10.15 | 2.07 | 10.15 |
| #FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#193764
Deuteranopia (green-blind)
#3D4760
Tritanopia (blue-blind)
#81163A
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #791162; /* rgb */ color: rgb(121, 17, 98); /* oklch */ color: oklch(39.8% 0.159 339.4);
Tailwind
colors: {
custom: {
50: '#a35f8f',
500: '#791162',
950: '#000000',
},
}SCSS
$custom: #791162; $custom-light: #a35f8f; $custom-dark: #000000;
JSON
{
"hex": "#791162",
"rgb": {
"r": 121,
"g": 17,
"b": 98
},
"hsl": {
"h": 313.269,
"s": 75.362,
"l": 27.059
},
"oklch": {
"l": 0.39801,
"c": 0.15913,
"h": 339.4
},
"luminance": 0.05348
}Semantic roles & 50–950 ramp
primary
#791162
secondary
#36B051
accent
#F25F36
background
#FAF5F8
surface
#F4EAF0
border
#CEC6CB
text
#10050C
muted
#7F797D