#7F2144#7F2144
#7F2144 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.9% C 0.131 H 2.4°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2144 |
|---|---|
| RGB | rgb(127, 33, 68) |
| HSL | hsl(338, 59%, 31%) |
| HSV | hsv(338, 74%, 50%) |
| CMYK | cmyk(0%, 74%, 46.5%, 50.2%) |
| CIE-LAB | lab(29.46, 42.75, 1.91) |
| CIE-LCH | lch(29.46, 42.79, 2.56°) |
| OKLab | oklab(40.9% 0.1309 0.0054) |
| OKLCH | oklch(40.9% 0.131 2.4) |
| XYZ | xyz(10.3404, 6.0184, 6.0849) |
| Luminance | 0.0602 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.36
Red Purple
#820747
ΔE00 3.72
Mulberry
#920A4E
ΔE00 4.46
Merlot
#730039
ΔE00 4.76
Reddish Purple
#910951
ΔE00 4.93
Berry
#990F4B
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2144 #217F5C
analogous
#7F2173 #7F2144 #7F2D21
triadic
#7F2144 #447F21 #21447F
tetradic
#7F2144 #737F21 #217F5C #2D217F
square
#7F2144 #737F21 #217F5C #2D217F
split-complementary
#7F2144 #217F2D #21737F
monochromatic
#1E0810 #4E142A #7F2144 #B02E5E #D04A7C
Accessibility & contrast
On white
9.53
#7F2144 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#7F2144 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2144
9.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2144 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2144 | 1.00 | 9.53 | 2.20 | 9.53 |
| #FFFFFF | 9.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363A45
Deuteranopia (green-blind)
#4F4C42
Tritanopia (blue-blind)
#8A1230
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f2144; /* rgb */ color: rgb(127, 33, 68); /* oklch */ color: oklch(40.9% 0.131 2.4);
Tailwind
colors: {
custom: {
50: '#a96477',
500: '#7f2144',
950: '#000000',
},
}SCSS
$custom: #7f2144; $custom-light: #a96477; $custom-dark: #000000;
JSON
{
"hex": "#7f2144",
"rgb": {
"r": 127,
"g": 33,
"b": 68
},
"hsl": {
"h": 337.66,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.40896,
"c": 0.13102,
"h": 2.4
},
"luminance": 0.06017
}Semantic roles & 50–950 ramp
primary
#7F2144
secondary
#4AB28B
accent
#E2A846
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B