#7F284D#7F284D
#7F284D is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.0% C 0.125 H 357.7°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #7F284D |
|---|---|
| RGB | rgb(127, 40, 77) |
| HSL | hsl(334, 52%, 33%) |
| HSV | hsv(334, 69%, 50%) |
| CMYK | cmyk(0%, 68.5%, 39.4%, 50.2%) |
| CIE-LAB | lab(30.80, 40.84, -2.07) |
| CIE-LCH | lch(30.80, 40.89, 357.09°) |
| OKLab | oklab(41.98% 0.125 -0.0049) |
| OKLCH | oklch(41.98% 0.125 357.7) |
| XYZ | xyz(10.8514, 6.5667, 7.7158) |
| Luminance | 0.0657 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 4.04
Mulberry
#920A4E
ΔE00 4.55
Reddish Purple
#910951
ΔE00 4.57
Wine (survey)
#80013F
ΔE00 4.85
Dark Magenta
#960056
ΔE00 5.60
Berry
#990F4B
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F284D #287F5A
analogous
#7F2878 #7F284D #7F2F28
triadic
#7F284D #4D7F28 #284D7F
tetradic
#7F284D #787F28 #287F5A #2F287F
square
#7F284D #787F28 #287F5A #2F287F
split-complementary
#7F284D #287F2F #28787F
monochromatic
#220B15 #501931 #7F284D #AE3769 #CA5788
Accessibility & contrast
On white
9.08
#7F284D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#7F284D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F284D
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F284D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F284D | 1.00 | 9.08 | 2.31 | 9.08 |
| #FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383E4E
Deuteranopia (green-blind)
#504F4B
Tritanopia (blue-blind)
#891F37
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7f284d; /* rgb */ color: rgb(127, 40, 77); /* oklch */ color: oklch(42.0% 0.125 357.7);
Tailwind
colors: {
custom: {
50: '#a8687e',
500: '#7f284d',
950: '#000000',
},
}SCSS
$custom: #7f284d; $custom-light: #a8687e; $custom-dark: #000000;
JSON
{
"hex": "#7f284d",
"rgb": {
"r": 127,
"g": 40,
"b": 77
},
"hsl": {
"h": 334.483,
"s": 52.096,
"l": 32.745
},
"oklch": {
"l": 0.41981,
"c": 0.12507,
"h": 357.7
},
"luminance": 0.06565
}Semantic roles & 50–950 ramp
primary
#7F284D
secondary
#54AF88
accent
#DC9F4C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C