#7E1265#7E1265
#7E1265 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.9% C 0.163 H 340.0°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1265 |
|---|---|
| RGB | rgb(126, 18, 101) |
| HSL | hsl(314, 75%, 28%) |
| HSV | hsv(314, 86%, 49%) |
| CMYK | cmyk(0%, 85.7%, 19.8%, 50.6%) |
| CIE-LAB | lab(28.93, 51.27, -20.63) |
| CIE-LCH | lch(28.93, 55.26, 338.08°) |
| OKLab | oklab(40.91% 0.1533 -0.0558) |
| OKLCH | oklch(40.91% 0.163 340) |
| XYZ | xyz(11.1698, 5.8090, 12.8424) |
| Luminance | 0.0581 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.30
Velvet
#750851
ΔE00 4.23
Darkish Purple
#751973
ΔE00 4.44
Purple
#800080
ΔE00 6.05
Grape Purple
#5D1451
ΔE00 6.60
Red Violet
#9E0168
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1265 #127E2B
analogous
#61127E #7E1265 #7E122F
triadic
#7E1265 #657E12 #12657E
tetradic
#7E1265 #7E6112 #127E2B #122F7E
square
#7E1265 #7E6112 #127E2B #122F7E
split-complementary
#7E1265 #2F7E12 #127E61
monochromatic
#1B0415 #480A3A #7E1265 #B41A90 #E12AB6
Accessibility & contrast
On white
9.72
#7E1265 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#7E1265 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1265
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1265 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1265 | 1.00 | 9.72 | 2.16 | 9.72 |
| #FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C3967
Deuteranopia (green-blind)
#414A63
Tritanopia (blue-blind)
#86173C
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e1265; /* rgb */ color: rgb(126, 18, 101); /* oklch */ color: oklch(40.9% 0.163 340.0);
Tailwind
colors: {
custom: {
50: '#a76091',
500: '#7e1265',
950: '#000000',
},
}SCSS
$custom: #7e1265; $custom-light: #a76091; $custom-dark: #000000;
JSON
{
"hex": "#7e1265",
"rgb": {
"r": 126,
"g": 18,
"b": 101
},
"hsl": {
"h": 313.889,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.40906,
"c": 0.16319,
"h": 340
},
"luminance": 0.05808
}Semantic roles & 50–950 ramp
primary
#7E1265
secondary
#38B455
accent
#F26236
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D