#7E125E#7E125E
#7E125E is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.159 H 343.8°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #7E125E |
|---|---|
| RGB | rgb(126, 18, 94) |
| HSL | hsl(318, 75%, 28%) |
| HSV | hsv(318, 86%, 49%) |
| CMYK | cmyk(0%, 85.7%, 25.4%, 50.6%) |
| CIE-LAB | lab(28.58, 50.31, -16.60) |
| CIE-LCH | lch(28.58, 52.98, 341.74°) |
| OKLab | oklab(40.55% 0.1524 -0.0444) |
| OKLCH | oklch(40.55% 0.159 343.8) |
| XYZ | xyz(10.8413, 5.6776, 11.1125) |
| Luminance | 0.0568 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.86
Rich Purple
#720058
ΔE00 3.17
Darkish Purple
#751973
ΔE00 6.09
Red Violet
#9E0168
ΔE00 6.11
Dark Magenta
#960056
ΔE00 6.49
Red Purple
#820747
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E125E #127E32
analogous
#68127E #7E125E #7E1228
triadic
#7E125E #5E7E12 #125E7E
tetradic
#7E125E #7E6812 #127E32 #12287E
square
#7E125E #7E6812 #127E32 #12287E
split-complementary
#7E125E #287E12 #127E68
monochromatic
#1B0414 #480A36 #7E125E #B41A86 #E12AAA
Accessibility & contrast
On white
9.84
#7E125E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#7E125E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E125E
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E125E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E125E | 1.00 | 9.84 | 2.14 | 9.84 |
| #FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#213860
Deuteranopia (green-blind)
#434A5C
Tritanopia (blue-blind)
#871138
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7e125e; /* rgb */ color: rgb(126, 18, 94); /* oklch */ color: oklch(40.5% 0.159 343.8);
Tailwind
colors: {
custom: {
50: '#a7608b',
500: '#7e125e',
950: '#000000',
},
}SCSS
$custom: #7e125e; $custom-light: #a7608b; $custom-dark: #000000;
JSON
{
"hex": "#7e125e",
"rgb": {
"r": 126,
"g": 18,
"b": 94
},
"hsl": {
"h": 317.778,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.40549,
"c": 0.15871,
"h": 343.8
},
"luminance": 0.05676
}Semantic roles & 50–950 ramp
primary
#7E125E
secondary
#38B45D
accent
#F26E36
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D