#7F2252#7F2252
#7F2252 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.5% C 0.135 H 353.0°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2252 |
|---|---|
| RGB | rgb(127, 34, 82) |
| HSL | hsl(329, 58%, 32%) |
| HSV | hsv(329, 73%, 50%) |
| CMYK | cmyk(0%, 73.2%, 35.4%, 50.2%) |
| CIE-LAB | lab(30.08, 43.94, -6.44) |
| CIE-LCH | lch(30.08, 44.40, 351.67°) |
| OKLab | oklab(41.51% 0.1345 -0.0165) |
| OKLCH | oklch(41.51% 0.135 353) |
| XYZ | xyz(10.8480, 6.2665, 8.6193) |
| Luminance | 0.0626 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.55
Reddish Purple
#910951
ΔE00 4.03
Mulberry
#920A4E
ΔE00 4.57
Dark Magenta
#960056
ΔE00 4.69
Velvet
#750851
ΔE00 4.83
Wine (survey)
#80013F
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2252 #227F4F
analogous
#7E227F #7F2252 #7F2224
triadic
#7F2252 #527F22 #22527F
tetradic
#7F2252 #7F7E22 #227F4F #22247F
square
#7F2252 #7F7E22 #227F4F #22247F
split-complementary
#7F2252 #247F22 #227F7E
monochromatic
#1E0814 #4F1533 #7F2252 #AF2F71 #CF4C90
Accessibility & contrast
On white
9.32
#7F2252 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#7F2252 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2252
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2252 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2252 | 1.00 | 9.32 | 2.25 | 9.32 |
| #FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#323C53
Deuteranopia (green-blind)
#4C4D50
Tritanopia (blue-blind)
#891B37
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7f2252; /* rgb */ color: rgb(127, 34, 82); /* oklch */ color: oklch(41.5% 0.135 353.0);
Tailwind
colors: {
custom: {
50: '#a86582',
500: '#7f2252',
950: '#000000',
},
}SCSS
$custom: #7f2252; $custom-light: #a86582; $custom-dark: #000000;
JSON
{
"hex": "#7f2252",
"rgb": {
"r": 127,
"g": 34,
"b": 82
},
"hsl": {
"h": 329.032,
"s": 57.764,
"l": 31.569
},
"oklch": {
"l": 0.41505,
"c": 0.13547,
"h": 353
},
"luminance": 0.06265
}Semantic roles & 50–950 ramp
primary
#7F2252
secondary
#4BB27D
accent
#E19147
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C