#7F1F52#7F1F52
#7F1F52 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.2% C 0.139 H 352.5°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1F52 |
|---|---|
| RGB | rgb(127, 31, 82) |
| HSL | hsl(328, 61%, 31%) |
| HSV | hsv(328, 76%, 50%) |
| CMYK | cmyk(0%, 75.6%, 35.4%, 50.2%) |
| CIE-LAB | lab(29.67, 45.07, -7.04) |
| CIE-LCH | lch(29.67, 45.62, 351.12°) |
| OKLab | oklab(41.21% 0.138 -0.0181) |
| OKLCH | oklch(41.21% 0.139 352.5) |
| XYZ | xyz(10.7660, 6.1025, 8.5919) |
| Luminance | 0.0610 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.36
Reddish Purple
#910951
ΔE00 3.94
Velvet
#750851
ΔE00 4.33
Dark Magenta
#960056
ΔE00 4.54
Mulberry
#920A4E
ΔE00 4.56
Wine (survey)
#80013F
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1F52 #1F7F4C
analogous
#7C1F7F #7F1F52 #7F1F22
triadic
#7F1F52 #527F1F #1F527F
tetradic
#7F1F52 #7F7C1F #1F7F4C #1F227F
square
#7F1F52 #7F7C1F #1F7F4C #1F227F
split-complementary
#7F1F52 #227F1F #1F7F7C
monochromatic
#1D0712 #4E1332 #7F1F52 #B02B72 #D24691
Accessibility & contrast
On white
9.46
#7F1F52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#7F1F52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1F52
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1F52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1F52 | 1.00 | 9.46 | 2.22 | 9.46 |
| #FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#303B53
Deuteranopia (green-blind)
#4B4C50
Tritanopia (blue-blind)
#891735
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7f1f52; /* rgb */ color: rgb(127, 31, 82); /* oklch */ color: oklch(41.2% 0.139 352.5);
Tailwind
colors: {
custom: {
50: '#a86482',
500: '#7f1f52',
950: '#000000',
},
}SCSS
$custom: #7f1f52; $custom-light: #a86482; $custom-dark: #000000;
JSON
{
"hex": "#7f1f52",
"rgb": {
"r": 127,
"g": 31,
"b": 82
},
"hsl": {
"h": 328.125,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.41208,
"c": 0.13922,
"h": 352.5
},
"luminance": 0.06101
}Semantic roles & 50–950 ramp
primary
#7F1F52
secondary
#48B27A
accent
#E48F44
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C