#7E2260#7E2260
#7E2260 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.9% C 0.143 H 343.7°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2260 |
|---|---|
| RGB | rgb(126, 34, 96) |
| HSL | hsl(320, 58%, 31%) |
| HSV | hsv(320, 73%, 49%) |
| CMYK | cmyk(0%, 73%, 23.8%, 50.6%) |
| CIE-LAB | lab(30.46, 45.51, -15.00) |
| CIE-LCH | lch(30.46, 47.92, 341.75°) |
| OKLab | oklab(41.94% 0.1371 -0.0401) |
| OKLCH | oklch(41.94% 0.143 343.7) |
| XYZ | xyz(11.2879, 6.4254, 11.7098) |
| Luminance | 0.0642 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 4.11
Rich Purple
#720058
ΔE00 4.88
Grape
#6C3461
ΔE00 5.43
Red Violet
#9E0168
ΔE00 6.02
Dark Magenta
#960056
ΔE00 6.46
Reddish Purple
#910951
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2260 #227E40
analogous
#6E227E #7E2260 #7E2232
triadic
#7E2260 #607E22 #22607E
tetradic
#7E2260 #7E6E22 #227E40 #22327E
square
#7E2260 #7E6E22 #227E40 #22327E
split-complementary
#7E2260 #327E22 #227E6E
monochromatic
#1E0817 #4E153B #7E2260 #AE2F85 #CF4CA4
Accessibility & contrast
On white
9.19
#7E2260 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#7E2260 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2260
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2260 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2260 | 1.00 | 9.19 | 2.28 | 9.19 |
| #FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B3E62
Deuteranopia (green-blind)
#474D5E
Tritanopia (blue-blind)
#86223E
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7e2260; /* rgb */ color: rgb(126, 34, 96); /* oklch */ color: oklch(41.9% 0.143 343.7);
Tailwind
colors: {
custom: {
50: '#a7668d',
500: '#7e2260',
950: '#000000',
},
}SCSS
$custom: #7e2260; $custom-light: #a7668d; $custom-dark: #000000;
JSON
{
"hex": "#7e2260",
"rgb": {
"r": 126,
"g": 34,
"b": 96
},
"hsl": {
"h": 319.565,
"s": 57.5,
"l": 31.373
},
"oklch": {
"l": 0.4194,
"c": 0.14281,
"h": 343.7
},
"luminance": 0.06424
}Semantic roles & 50–950 ramp
primary
#7E2260
secondary
#4BB16C
accent
#E17947
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D