#7F1850#7F1850
#7F1850 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.146 H 352.8°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1850 |
|---|---|
| RGB | rgb(127, 24, 80) |
| HSL | hsl(327, 68%, 30%) |
| HSV | hsv(327, 81%, 50%) |
| CMYK | cmyk(0%, 81.1%, 37%, 50.2%) |
| CIE-LAB | lab(28.76, 47.18, -7.09) |
| CIE-LCH | lch(28.76, 47.71, 351.46°) |
| OKLab | oklab(40.52% 0.1449 -0.0182) |
| OKLCH | oklch(40.52% 0.146 352.8) |
| XYZ | xyz(10.5277, 5.7458, 8.1425) |
| Luminance | 0.0574 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.71
Reddish Purple
#910951
ΔE00 3.71
Velvet
#750851
ΔE00 3.76
Dark Magenta
#960056
ΔE00 4.33
Mulberry
#920A4E
ΔE00 4.39
Wine (survey)
#80013F
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1850 #187F47
analogous
#7B187F #7F1850 #7F181C
triadic
#7F1850 #507F18 #18507F
tetradic
#7F1850 #7F7B18 #187F47 #181C7F
square
#7F1850 #7F7B18 #187F47 #181C7F
split-complementary
#7F1850 #1C7F18 #187F7B
monochromatic
#1A0510 #4C0E30 #7F1850 #B22270 #D93890
Accessibility & contrast
On white
9.77
#7F1850 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7F1850 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1850
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1850 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1850 | 1.00 | 9.77 | 2.15 | 9.77 |
| #FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C3851
Deuteranopia (green-blind)
#494A4E
Tritanopia (blue-blind)
#890C32
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f1850; /* rgb */ color: rgb(127, 24, 80); /* oklch */ color: oklch(40.5% 0.146 352.8);
Tailwind
colors: {
custom: {
50: '#a86181',
500: '#7f1850',
950: '#000000',
},
}SCSS
$custom: #7f1850; $custom-light: #a86181; $custom-dark: #000000;
JSON
{
"hex": "#7f1850",
"rgb": {
"r": 127,
"g": 24,
"b": 80
},
"hsl": {
"h": 327.379,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.4052,
"c": 0.14604,
"h": 352.8
},
"luminance": 0.05744
}Semantic roles & 50–950 ramp
primary
#7F1850
secondary
#3FB374
accent
#EB8C3D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C