#7F2147#7F2147
#7F2147 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.0% C 0.132 H 0.3°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2147 |
|---|---|
| RGB | rgb(127, 33, 71) |
| HSL | hsl(336, 59%, 31%) |
| HSV | hsv(336, 74%, 50%) |
| CMYK | cmyk(0%, 74%, 44.1%, 50.2%) |
| CIE-LAB | lab(29.55, 43.06, 0.06) |
| CIE-LCH | lch(29.55, 43.06, 0.08°) |
| OKLab | oklab(41% 0.132 0.0007) |
| OKLCH | oklch(41% 0.132 0.3) |
| XYZ | xyz(10.4344, 6.0560, 6.5795) |
| Luminance | 0.0605 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.14
Wine (survey)
#80013F
ΔE00 3.35
Mulberry
#920A4E
ΔE00 4.07
Reddish Purple
#910951
ΔE00 4.34
Merlot
#730039
ΔE00 4.72
Berry
#990F4B
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2147 #217F59
analogous
#7F2176 #7F2147 #7F2A21
triadic
#7F2147 #477F21 #21477F
tetradic
#7F2147 #767F21 #217F59 #2A217F
square
#7F2147 #767F21 #217F59 #2A217F
split-complementary
#7F2147 #217F2A #21767F
monochromatic
#1E0811 #4E142C #7F2147 #B02E62 #D04A80
Accessibility & contrast
On white
9.50
#7F2147 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#7F2147 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2147
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2147 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2147 | 1.00 | 9.50 | 2.21 | 9.50 |
| #FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353A48
Deuteranopia (green-blind)
#4E4C45
Tritanopia (blue-blind)
#8A1431
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7f2147; /* rgb */ color: rgb(127, 33, 71); /* oklch */ color: oklch(41.0% 0.132 0.3);
Tailwind
colors: {
custom: {
50: '#a9657a',
500: '#7f2147',
950: '#000000',
},
}SCSS
$custom: #7f2147; $custom-light: #a9657a; $custom-dark: #000000;
JSON
{
"hex": "#7f2147",
"rgb": {
"r": 127,
"g": 33,
"b": 71
},
"hsl": {
"h": 335.745,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.40996,
"c": 0.13202,
"h": 0.3
},
"luminance": 0.06055
}Semantic roles & 50–950 ramp
primary
#7F2147
secondary
#4AB288
accent
#E2A346
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B