#7F1852#7F1852
#7F1852 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.147 H 351.6°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1852 |
|---|---|
| RGB | rgb(127, 24, 82) |
| HSL | hsl(326, 68%, 30%) |
| HSV | hsv(326, 81%, 50%) |
| CMYK | cmyk(0%, 81.1%, 35.4%, 50.2%) |
| CIE-LAB | lab(28.84, 47.42, -8.29) |
| CIE-LCH | lch(28.84, 48.14, 350.08°) |
| OKLab | oklab(40.6% 0.1455 -0.0215) |
| OKLCH | oklch(40.6% 0.147 351.6) |
| XYZ | xyz(10.6027, 5.7758, 8.5375) |
| Luminance | 0.0577 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.21
Velvet
#750851
ΔE00 3.39
Reddish Purple
#910951
ΔE00 3.98
Dark Magenta
#960056
ΔE00 4.43
Mulberry
#920A4E
ΔE00 4.74
Wine (survey)
#80013F
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1852 #187F45
analogous
#79187F #7F1852 #7F181E
triadic
#7F1852 #527F18 #18527F
tetradic
#7F1852 #7F7918 #187F45 #181E7F
square
#7F1852 #7F7918 #187F45 #181E7F
split-complementary
#7F1852 #1E7F18 #187F79
monochromatic
#1A0511 #4C0E31 #7F1852 #B22273 #D93893
Accessibility & contrast
On white
9.75
#7F1852 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7F1852 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1852
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1852 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1852 | 1.00 | 9.75 | 2.15 | 9.75 |
| #FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B3853
Deuteranopia (green-blind)
#494B50
Tritanopia (blue-blind)
#890E33
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f1852; /* rgb */ color: rgb(127, 24, 82); /* oklch */ color: oklch(40.6% 0.147 351.6);
Tailwind
colors: {
custom: {
50: '#a86182',
500: '#7f1852',
950: '#000000',
},
}SCSS
$custom: #7f1852; $custom-light: #a86182; $custom-dark: #000000;
JSON
{
"hex": "#7f1852",
"rgb": {
"r": 127,
"g": 24,
"b": 82
},
"hsl": {
"h": 326.214,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.40602,
"c": 0.14703,
"h": 351.6
},
"luminance": 0.05774
}Semantic roles & 50–950 ramp
primary
#7F1852
secondary
#3FB372
accent
#EB893D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C