#7F284B#7F284B
#7F284B is a dark, vivid pink. Relative luminance 0.065; OKLCH L 41.9% C 0.124 H 359.2°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #7F284B |
|---|---|
| RGB | rgb(127, 40, 75) |
| HSL | hsl(336, 52%, 33%) |
| HSV | hsv(336, 69%, 50%) |
| CMYK | cmyk(0%, 68.5%, 40.9%, 50.2%) |
| CIE-LAB | lab(30.73, 40.60, -0.86) |
| CIE-LCH | lch(30.73, 40.61, 358.79°) |
| OKLab | oklab(41.91% 0.1243 -0.0017) |
| OKLCH | oklch(41.91% 0.124 359.2) |
| XYZ | xyz(10.7819, 6.5389, 7.3496) |
| Luminance | 0.0654 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 4.14
Mulberry
#920A4E
ΔE00 4.60
Wine (survey)
#80013F
ΔE00 4.67
Reddish Purple
#910951
ΔE00 4.77
Berry
#990F4B
ΔE00 5.53
Dark Magenta
#960056
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F284B #287F5C
analogous
#7F2876 #7F284B #7F3028
triadic
#7F284B #4B7F28 #284B7F
tetradic
#7F284B #767F28 #287F5C #30287F
square
#7F284B #767F28 #287F5C #30287F
split-complementary
#7F284B #287F30 #28767F
monochromatic
#220B14 #501930 #7F284B #AE3766 #CA5785
Accessibility & contrast
On white
9.10
#7F284B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#7F284B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F284B
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F284B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F284B | 1.00 | 9.10 | 2.31 | 9.10 |
| #FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393E4C
Deuteranopia (green-blind)
#504E49
Tritanopia (blue-blind)
#8A1F36
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7f284b; /* rgb */ color: rgb(127, 40, 75); /* oklch */ color: oklch(41.9% 0.124 359.2);
Tailwind
colors: {
custom: {
50: '#a8687d',
500: '#7f284b',
950: '#000000',
},
}SCSS
$custom: #7f284b; $custom-light: #a8687d; $custom-dark: #000000;
JSON
{
"hex": "#7f284b",
"rgb": {
"r": 127,
"g": 40,
"b": 75
},
"hsl": {
"h": 335.862,
"s": 52.096,
"l": 32.745
},
"oklch": {
"l": 0.4191,
"c": 0.12426,
"h": 359.2
},
"luminance": 0.06538
}Semantic roles & 50–950 ramp
primary
#7F284B
secondary
#54AF8A
accent
#DCA24C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B