#7E154D#7E154D
#7E154D is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.147 H 354.0°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #7E154D |
|---|---|
| RGB | rgb(126, 21, 77) |
| HSL | hsl(328, 71%, 29%) |
| HSV | hsv(328, 83%, 49%) |
| CMYK | cmyk(0%, 83.3%, 38.9%, 50.6%) |
| CIE-LAB | lab(28.14, 47.45, -6.05) |
| CIE-LCH | lch(28.14, 47.84, 352.74°) |
| OKLab | oklab(39.99% 0.1459 -0.0154) |
| OKLCH | oklch(39.99% 0.147 354) |
| XYZ | xyz(10.2126, 5.5091, 7.5453) |
| Luminance | 0.0551 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.11
Reddish Purple
#910951
ΔE00 3.70
Velvet
#750851
ΔE00 3.88
Wine (survey)
#80013F
ΔE00 3.97
Mulberry
#920A4E
ΔE00 4.27
Dark Magenta
#960056
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E154D #157E46
analogous
#7B157E #7E154D #7E1519
triadic
#7E154D #4D7E15 #154D7E
tetradic
#7E154D #7E7B15 #157E46 #15197E
square
#7E154D #7E7B15 #157E46 #15197E
split-complementary
#7E154D #197E15 #157E7B
monochromatic
#1A0410 #4A0C2D #7E154D #B21E6D #DD318C
Accessibility & contrast
On white
9.99
#7E154D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#7E154D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E154D
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E154D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E154D | 1.00 | 9.99 | 2.10 | 9.99 |
| #FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B364E
Deuteranopia (green-blind)
#49494B
Tritanopia (blue-blind)
#88052F
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7e154d; /* rgb */ color: rgb(126, 21, 77); /* oklch */ color: oklch(40.0% 0.147 354.0);
Tailwind
colors: {
custom: {
50: '#a8607e',
500: '#7e154d',
950: '#000000',
},
}SCSS
$custom: #7e154d; $custom-light: #a8607e; $custom-dark: #000000;
JSON
{
"hex": "#7e154d",
"rgb": {
"r": 126,
"g": 21,
"b": 77
},
"hsl": {
"h": 328,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.39991,
"c": 0.14675,
"h": 354
},
"luminance": 0.05508
}Semantic roles & 50–950 ramp
primary
#7E154D
secondary
#3CB373
accent
#EE8E3A
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C