#7F154F#7F154F
#7F154F is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.148 H 353.1°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #7F154F |
|---|---|
| RGB | rgb(127, 21, 79) |
| HSL | hsl(327, 72%, 29%) |
| HSV | hsv(327, 83%, 50%) |
| CMYK | cmyk(0%, 83.5%, 37.8%, 50.2%) |
| CIE-LAB | lab(28.42, 47.94, -6.94) |
| CIE-LCH | lch(28.42, 48.44, 351.76°) |
| OKLab | oklab(40.26% 0.1474 -0.0178) |
| OKLCH | oklch(40.26% 0.148 353.1) |
| XYZ | xyz(10.4325, 5.6142, 7.9299) |
| Luminance | 0.0561 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.45
Velvet
#750851
ΔE00 3.65
Reddish Purple
#910951
ΔE00 3.66
Dark Magenta
#960056
ΔE00 4.30
Mulberry
#920A4E
ΔE00 4.33
Wine (survey)
#80013F
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F154F #157F45
analogous
#7A157F #7F154F #7F151A
triadic
#7F154F #4F7F15 #154F7F
tetradic
#7F154F #7F7A15 #157F45 #151A7F
square
#7F154F #7F7A15 #157F45 #151A7F
split-complementary
#7F154F #1A7F15 #157F7A
monochromatic
#1A0410 #4A0C2E #7F154F #B41E70 #DD318F
Accessibility & contrast
On white
9.89
#7F154F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#7F154F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F154F
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F154F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F154F | 1.00 | 9.89 | 2.12 | 9.89 |
| #FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B3750
Deuteranopia (green-blind)
#494A4D
Tritanopia (blue-blind)
#890630
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7f154f; /* rgb */ color: rgb(127, 21, 79); /* oklch */ color: oklch(40.3% 0.148 353.1);
Tailwind
colors: {
custom: {
50: '#a96080',
500: '#7f154f',
950: '#000000',
},
}SCSS
$custom: #7f154f; $custom-light: #a96080; $custom-dark: #000000;
JSON
{
"hex": "#7f154f",
"rgb": {
"r": 127,
"g": 21,
"b": 79
},
"hsl": {
"h": 327.17,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.40256,
"c": 0.14845,
"h": 353.1
},
"luminance": 0.05613
}Semantic roles & 50–950 ramp
primary
#7F154F
secondary
#3CB472
accent
#EE8B39
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C