#7F2452#7F2452
#7F2452 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.7% C 0.133 H 353.4°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2452 |
|---|---|
| RGB | rgb(127, 36, 82) |
| HSL | hsl(330, 56%, 32%) |
| HSV | hsv(330, 72%, 50%) |
| CMYK | cmyk(0%, 71.7%, 35.4%, 50.2%) |
| CIE-LAB | lab(30.36, 43.14, -6.01) |
| CIE-LCH | lch(30.36, 43.55, 352.07°) |
| OKLab | oklab(41.72% 0.132 -0.0154) |
| OKLCH | oklch(41.72% 0.133 353.4) |
| XYZ | xyz(10.9069, 6.3842, 8.6389) |
| Luminance | 0.0638 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.74
Reddish Purple
#910951
ΔE00 4.14
Mulberry
#920A4E
ΔE00 4.62
Dark Magenta
#960056
ΔE00 4.83
Velvet
#750851
ΔE00 5.19
Wine (survey)
#80013F
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2452 #247F51
analogous
#7F247F #7F2452 #7F2425
triadic
#7F2452 #527F24 #24527F
tetradic
#7F2452 #7F7F24 #247F51 #24257F
square
#7F2452 #7F7F24 #247F51 #24257F
split-complementary
#7F2452 #257F24 #247F7F
monochromatic
#200914 #4F1633 #7F2452 #AF3271 #CD508F
Accessibility & contrast
On white
9.22
#7F2452 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#7F2452 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2452
9.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2452 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2452 | 1.00 | 9.22 | 2.28 | 9.22 |
| #FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#333D53
Deuteranopia (green-blind)
#4D4E50
Tritanopia (blue-blind)
#891D37
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7f2452; /* rgb */ color: rgb(127, 36, 82); /* oklch */ color: oklch(41.7% 0.133 353.4);
Tailwind
colors: {
custom: {
50: '#a86682',
500: '#7f2452',
950: '#000000',
},
}SCSS
$custom: #7f2452; $custom-light: #a86682; $custom-dark: #000000;
JSON
{
"hex": "#7f2452",
"rgb": {
"r": 127,
"g": 36,
"b": 82
},
"hsl": {
"h": 329.67,
"s": 55.828,
"l": 31.961
},
"oklch": {
"l": 0.41716,
"c": 0.13284,
"h": 353.4
},
"luminance": 0.06383
}Semantic roles & 50–950 ramp
primary
#7F2452
secondary
#4EB17F
accent
#DF9349
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C