#7E256E#7E256E
#7E256E is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.9% C 0.149 H 335.9°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).
Color values
| HEX | #7E256E |
|---|---|
| RGB | rgb(126, 37, 110) |
| HSL | hsl(311, 55%, 32%) |
| HSV | hsv(311, 71%, 49%) |
| CMYK | cmyk(0%, 70.6%, 12.7%, 50.6%) |
| CIE-LAB | lab(31.55, 46.46, -22.32) |
| CIE-LCH | lch(31.55, 51.54, 334.33°) |
| OKLab | oklab(42.95% 0.1359 -0.0608) |
| OKLCH | oklch(42.95% 0.149 335.9) |
| XYZ | xyz(12.0804, 6.8856, 15.4416) |
| Luminance | 0.0688 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 3.90
Grape
#6C3461
ΔE00 5.61
Rich Purple
#720058
ΔE00 5.74
Purple
#800080
ΔE00 5.78
Bruise
#7E4071
ΔE00 6.16
Velvet
#750851
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E256E #257E35
analogous
#62257E #7E256E #7E2541
triadic
#7E256E #6E7E25 #256E7E
tetradic
#7E256E #7E6225 #257E35 #25417E
square
#7E256E #7E6225 #257E35 #25417E
split-complementary
#7E256E #417E25 #257E62
monochromatic
#1F091B #4F1745 #7E256E #AD3397 #CC51B6
Accessibility & contrast
On white
8.83
#7E256E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#7E256E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E256E
8.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E256E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E256E | 1.00 | 8.83 | 2.38 | 8.83 |
| #FFFFFF | 8.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#264270
Deuteranopia (green-blind)
#444F6C
Tritanopia (blue-blind)
#852B46
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #7e256e; /* rgb */ color: rgb(126, 37, 110); /* oklch */ color: oklch(42.9% 0.149 335.9);
Tailwind
colors: {
custom: {
50: '#a66898',
500: '#7e256e',
950: '#000000',
},
}SCSS
$custom: #7e256e; $custom-light: #a66898; $custom-dark: #000000;
JSON
{
"hex": "#7e256e",
"rgb": {
"r": 126,
"g": 37,
"b": 110
},
"hsl": {
"h": 310.787,
"s": 54.601,
"l": 31.961
},
"oklch": {
"l": 0.42945,
"c": 0.14887,
"h": 335.9
},
"luminance": 0.06885
}Semantic roles & 50–950 ramp
primary
#7E256E
secondary
#4FB060
accent
#DE644A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E