#791262#791262
#791262 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.9% C 0.158 H 339.4°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).
Color values
| HEX | #791262 |
|---|---|
| RGB | rgb(121, 18, 98) |
| HSL | hsl(313, 74%, 27%) |
| HSV | hsv(313, 85%, 47%) |
| CMYK | cmyk(0%, 85.1%, 19%, 52.5%) |
| CIE-LAB | lab(27.79, 49.67, -20.51) |
| CIE-LCH | lch(27.79, 53.74, 337.56°) |
| OKLab | oklab(39.86% 0.1482 -0.0556) |
| OKLCH | oklch(39.86% 0.158 339.4) |
| XYZ | xyz(10.3064, 5.3805, 12.0487) |
| Luminance | 0.0538 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 2.50
Velvet
#750851
ΔE00 3.78
Darkish Purple
#751973
ΔE00 4.33
Grape Purple
#5D1451
ΔE00 5.62
Purple
#800080
ΔE00 6.28
Grape
#6C3461
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#791262 #127929
analogous
#5D1279 #791262 #79122F
triadic
#791262 #627912 #126279
tetradic
#791262 #795D12 #127929 #122F79
square
#791262 #795D12 #127929 #122F79
split-complementary
#791262 #2F7912 #12795D
monochromatic
#1B0416 #440A37 #791262 #AE1A8D #DF27B6
Accessibility & contrast
On white
10.12
#791262 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#791262 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #791262
10.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##791262 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##791262 | 1.00 | 10.12 | 2.08 | 10.12 |
| #FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A3764
Deuteranopia (green-blind)
#3E4760
Tritanopia (blue-blind)
#81173A
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #791262; /* rgb */ color: rgb(121, 18, 98); /* oklch */ color: oklch(39.9% 0.158 339.4);
Tailwind
colors: {
custom: {
50: '#a35f8f',
500: '#791262',
950: '#000000',
},
}SCSS
$custom: #791262; $custom-light: #a35f8f; $custom-dark: #000000;
JSON
{
"hex": "#791262",
"rgb": {
"r": 121,
"g": 18,
"b": 98
},
"hsl": {
"h": 313.398,
"s": 74.101,
"l": 27.255
},
"oklch": {
"l": 0.39863,
"c": 0.15829,
"h": 339.4
},
"luminance": 0.05379
}Semantic roles & 50–950 ramp
primary
#791262
secondary
#38AF52
accent
#F16137
background
#FAF5F8
surface
#F4EAF0
border
#CEC6CB
text
#10050C
muted
#7F797D