#7F184D#7F184D
#7F184D is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.145 H 354.7°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #7F184D |
|---|---|
| RGB | rgb(127, 24, 77) |
| HSL | hsl(329, 68%, 30%) |
| HSV | hsv(329, 81%, 50%) |
| CMYK | cmyk(0%, 81.1%, 39.4%, 50.2%) |
| CIE-LAB | lab(28.65, 46.84, -5.26) |
| CIE-LCH | lch(28.65, 47.14, 353.59°) |
| OKLab | oklab(40.4% 0.144 -0.0133) |
| OKLCH | oklch(40.4% 0.145 354.7) |
| XYZ | xyz(10.4193, 5.7024, 7.5717) |
| Luminance | 0.0570 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.03
Reddish Purple
#910951
ΔE00 3.46
Wine (survey)
#80013F
ΔE00 3.82
Mulberry
#920A4E
ΔE00 3.94
Dark Magenta
#960056
ΔE00 4.32
Velvet
#750851
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F184D #187F4A
analogous
#7E187F #7F184D #7F181A
triadic
#7F184D #4D7F18 #184D7F
tetradic
#7F184D #7F7E18 #187F4A #181A7F
square
#7F184D #7F7E18 #187F4A #181A7F
split-complementary
#7F184D #1A7F18 #187F7E
monochromatic
#1A0510 #4C0E2E #7F184D #B2226C #D9388B
Accessibility & contrast
On white
9.81
#7F184D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#7F184D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F184D
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F184D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F184D | 1.00 | 9.81 | 2.14 | 9.81 |
| #FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D374E
Deuteranopia (green-blind)
#4A4A4B
Tritanopia (blue-blind)
#8A0930
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f184d; /* rgb */ color: rgb(127, 24, 77); /* oklch */ color: oklch(40.4% 0.145 354.7);
Tailwind
colors: {
custom: {
50: '#a9617e',
500: '#7f184d',
950: '#000000',
},
}SCSS
$custom: #7f184d; $custom-light: #a9617e; $custom-dark: #000000;
JSON
{
"hex": "#7f184d",
"rgb": {
"r": 127,
"g": 24,
"b": 77
},
"hsl": {
"h": 329.126,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.404,
"c": 0.14462,
"h": 354.7
},
"luminance": 0.05701
}Semantic roles & 50–950 ramp
primary
#7F184D
secondary
#3FB378
accent
#EB913D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C