#7F154A#7F154A
#7F154A is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.1% C 0.146 H 356.2°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #7F154A |
|---|---|
| RGB | rgb(127, 21, 74) |
| HSL | hsl(330, 72%, 29%) |
| HSV | hsv(330, 83%, 50%) |
| CMYK | cmyk(0%, 83.5%, 41.7%, 50.2%) |
| CIE-LAB | lab(28.23, 47.40, -3.89) |
| CIE-LCH | lch(28.23, 47.55, 355.31°) |
| OKLab | oklab(40.06% 0.1459 -0.0096) |
| OKLCH | oklch(40.06% 0.146 356.2) |
| XYZ | xyz(10.2573, 5.5441, 7.0072) |
| Luminance | 0.0554 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 1.35
Wine (survey)
#80013F
ΔE00 3.03
Reddish Purple
#910951
ΔE00 3.39
Mulberry
#920A4E
ΔE00 3.71
Merlot
#730039
ΔE00 4.12
Dark Magenta
#960056
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F154A #157F4A
analogous
#7F157F #7F154A #7F1515
triadic
#7F154A #4A7F15 #154A7F
tetradic
#7F154A #7F7F15 #157F4A #15157F
square
#7F154A #7F7F15 #157F4A #15157F
split-complementary
#7F154A #157F15 #157F7F
monochromatic
#1A040F #4A0C2B #7F154A #B41E69 #DD3187
Accessibility & contrast
On white
9.96
#7F154A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#7F154A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F154A
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F154A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F154A | 1.00 | 9.96 | 2.11 | 9.96 |
| #FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D364B
Deuteranopia (green-blind)
#4A4A48
Tritanopia (blue-blind)
#8A012E
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7f154a; /* rgb */ color: rgb(127, 21, 74); /* oklch */ color: oklch(40.1% 0.146 356.2);
Tailwind
colors: {
custom: {
50: '#a9607c',
500: '#7f154a',
950: '#000000',
},
}SCSS
$custom: #7f154a; $custom-light: #a9607c; $custom-dark: #000000;
JSON
{
"hex": "#7f154a",
"rgb": {
"r": 127,
"g": 21,
"b": 74
},
"hsl": {
"h": 330,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.4006,
"c": 0.14619,
"h": 356.2
},
"luminance": 0.05543
}Semantic roles & 50–950 ramp
primary
#7F154A
secondary
#3CB478
accent
#EE9439
background
#FAF6F7
surface
#F5EBEE
border
#CFC6C9
text
#110509
muted
#807A7B