#7F1250#7F1250
#7F1250 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.1% C 0.152 H 352.2°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1250 |
|---|---|
| RGB | rgb(127, 18, 80) |
| HSL | hsl(326, 75%, 28%) |
| HSV | hsv(326, 86%, 50%) |
| CMYK | cmyk(0%, 85.8%, 37%, 50.2%) |
| CIE-LAB | lab(28.18, 48.85, -7.96) |
| CIE-LCH | lch(28.18, 49.49, 350.74°) |
| OKLab | oklab(40.1% 0.1502 -0.0205) |
| OKLCH | oklch(40.1% 0.152 352.2) |
| XYZ | xyz(10.4174, 5.5251, 8.1057) |
| Luminance | 0.0552 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.77
Velvet
#750851
ΔE00 3.18
Reddish Purple
#910951
ΔE00 3.88
Dark Magenta
#960056
ΔE00 4.37
Mulberry
#920A4E
ΔE00 4.63
Wine (survey)
#80013F
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1250 #127F41
analogous
#77127F #7F1250 #7F1219
triadic
#7F1250 #507F12 #12507F
tetradic
#7F1250 #7F7712 #127F41 #12197F
square
#7F1250 #7F7712 #127F41 #12197F
split-complementary
#7F1250 #197F12 #127F77
monochromatic
#1B0411 #490A2E #7F1250 #B51A72 #E12B92
Accessibility & contrast
On white
9.98
#7F1250 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#7F1250 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1250
9.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1250 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1250 | 1.00 | 9.98 | 2.10 | 9.98 |
| #FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#293651
Deuteranopia (green-blind)
#48494E
Tritanopia (blue-blind)
#890330
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7f1250; /* rgb */ color: rgb(127, 18, 80); /* oklch */ color: oklch(40.1% 0.152 352.2);
Tailwind
colors: {
custom: {
50: '#a95f81',
500: '#7f1250',
950: '#000000',
},
}SCSS
$custom: #7f1250; $custom-light: #a95f81; $custom-dark: #000000;
JSON
{
"hex": "#7f1250",
"rgb": {
"r": 127,
"g": 18,
"b": 80
},
"hsl": {
"h": 325.872,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.40097,
"c": 0.15157,
"h": 352.2
},
"luminance": 0.05524
}Semantic roles & 50–950 ramp
primary
#7F1250
secondary
#38B56E
accent
#F28736
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C