#7F154D#7F154D
#7F154D is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.148 H 354.4°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #7F154D |
|---|---|
| RGB | rgb(127, 21, 77) |
| HSL | hsl(328, 72%, 29%) |
| HSV | hsv(328, 83%, 50%) |
| CMYK | cmyk(0%, 83.5%, 39.4%, 50.2%) |
| CIE-LAB | lab(28.34, 47.72, -5.72) |
| CIE-LCH | lch(28.34, 48.06, 353.16°) |
| OKLab | oklab(40.18% 0.1468 -0.0145) |
| OKLCH | oklch(40.18% 0.148 354.4) |
| XYZ | xyz(10.3608, 5.5855, 7.5523) |
| Luminance | 0.0558 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 1.96
Reddish Purple
#910951
ΔE00 3.48
Wine (survey)
#80013F
ΔE00 3.84
Mulberry
#920A4E
ΔE00 4.03
Velvet
#750851
ΔE00 4.10
Dark Magenta
#960056
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F154D #157F47
analogous
#7C157F #7F154D #7F1518
triadic
#7F154D #4D7F15 #154D7F
tetradic
#7F154D #7F7C15 #157F47 #15187F
square
#7F154D #7F7C15 #157F47 #15187F
split-complementary
#7F154D #187F15 #157F7C
monochromatic
#1A0410 #4A0C2D #7F154D #B41E6D #DD318C
Accessibility & contrast
On white
9.92
#7F154D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#7F154D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F154D
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F154D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F154D | 1.00 | 9.92 | 2.12 | 9.92 |
| #FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C374E
Deuteranopia (green-blind)
#494A4B
Tritanopia (blue-blind)
#8A042F
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7f154d; /* rgb */ color: rgb(127, 21, 77); /* oklch */ color: oklch(40.2% 0.148 354.4);
Tailwind
colors: {
custom: {
50: '#a9607e',
500: '#7f154d',
950: '#000000',
},
}SCSS
$custom: #7f154d; $custom-light: #a9607e; $custom-dark: #000000;
JSON
{
"hex": "#7f154d",
"rgb": {
"r": 127,
"g": 21,
"b": 77
},
"hsl": {
"h": 328.302,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.40176,
"c": 0.14752,
"h": 354.4
},
"luminance": 0.05584
}Semantic roles & 50–950 ramp
primary
#7F154D
secondary
#3CB474
accent
#EE8F39
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C