#7F2247#7F2247
#7F2247 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.1% C 0.131 H 0.5°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2247 |
|---|---|
| RGB | rgb(127, 34, 71) |
| HSL | hsl(336, 58%, 32%) |
| HSV | hsv(336, 73%, 50%) |
| CMYK | cmyk(0%, 73.2%, 44.1%, 50.2%) |
| CIE-LAB | lab(29.69, 42.67, 0.26) |
| CIE-LCH | lch(29.69, 42.67, 0.35°) |
| OKLab | oklab(41.1% 0.1308 0.0012) |
| OKLCH | oklch(41.1% 0.131 0.5) |
| XYZ | xyz(10.4625, 6.1123, 6.5889) |
| Luminance | 0.0611 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.34
Wine (survey)
#80013F
ΔE00 3.50
Mulberry
#920A4E
ΔE00 4.17
Reddish Purple
#910951
ΔE00 4.47
Merlot
#730039
ΔE00 4.86
Berry
#990F4B
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2247 #227F5A
analogous
#7F2276 #7F2247 #7F2C22
triadic
#7F2247 #477F22 #22477F
tetradic
#7F2247 #767F22 #227F5A #2C227F
square
#7F2247 #767F22 #227F5A #2C227F
split-complementary
#7F2247 #227F2C #22767F
monochromatic
#1E0811 #4F152C #7F2247 #AF2F62 #CF4C80
Accessibility & contrast
On white
9.45
#7F2247 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#7F2247 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2247
9.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2247 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2247 | 1.00 | 9.45 | 2.22 | 9.45 |
| #FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363B48
Deuteranopia (green-blind)
#4F4C45
Tritanopia (blue-blind)
#8A1531
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7f2247; /* rgb */ color: rgb(127, 34, 71); /* oklch */ color: oklch(41.1% 0.131 0.5);
Tailwind
colors: {
custom: {
50: '#a8657a',
500: '#7f2247',
950: '#000000',
},
}SCSS
$custom: #7f2247; $custom-light: #a8657a; $custom-dark: #000000;
JSON
{
"hex": "#7f2247",
"rgb": {
"r": 127,
"g": 34,
"b": 71
},
"hsl": {
"h": 336.129,
"s": 57.764,
"l": 31.569
},
"oklch": {
"l": 0.411,
"c": 0.13078,
"h": 0.5
},
"luminance": 0.06111
}Semantic roles & 50–950 ramp
primary
#7F2247
secondary
#4BB289
accent
#E1A447
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B