#7F1246#7F1246
#7F1246 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.147 H 358.4°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1246 |
|---|---|
| RGB | rgb(127, 18, 70) |
| HSL | hsl(331, 75%, 28%) |
| HSV | hsv(331, 86%, 50%) |
| CMYK | cmyk(0%, 85.8%, 44.9%, 50.2%) |
| CIE-LAB | lab(27.81, 47.78, -1.83) |
| CIE-LCH | lch(27.81, 47.82, 357.81°) |
| OKLab | oklab(39.71% 0.1471 -0.0042) |
| OKLCH | oklch(39.71% 0.147 358.4) |
| XYZ | xyz(10.0750, 5.3882, 6.3027) |
| Luminance | 0.0539 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 1.01
Wine (survey)
#80013F
ΔE00 2.00
Merlot
#730039
ΔE00 3.39
Reddish Purple
#910951
ΔE00 3.59
Mulberry
#920A4E
ΔE00 3.61
Dark Magenta
#960056
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1246 #127F4B
analogous
#7F127C #7F1246 #7F1412
triadic
#7F1246 #467F12 #12467F
tetradic
#7F1246 #7C7F12 #127F4B #14127F
square
#7F1246 #7C7F12 #127F4B #14127F
split-complementary
#7F1246 #127F14 #127C7F
monochromatic
#1B040F #490A28 #7F1246 #B51A64 #E12B82
Accessibility & contrast
On white
10.11
#7F1246 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#7F1246 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1246
10.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1246 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1246 | 1.00 | 10.11 | 2.08 | 10.11 |
| #FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D3547
Deuteranopia (green-blind)
#4A4944
Tritanopia (blue-blind)
#8A002B
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7f1246; /* rgb */ color: rgb(127, 18, 70); /* oklch */ color: oklch(39.7% 0.147 358.4);
Tailwind
colors: {
custom: {
50: '#a95f79',
500: '#7f1246',
950: '#000000',
},
}SCSS
$custom: #7f1246; $custom-light: #a95f79; $custom-dark: #000000;
JSON
{
"hex": "#7f1246",
"rgb": {
"r": 127,
"g": 18,
"b": 70
},
"hsl": {
"h": 331.376,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.39709,
"c": 0.14718,
"h": 358.4
},
"luminance": 0.05387
}Semantic roles & 50–950 ramp
primary
#7F1246
secondary
#38B579
accent
#F29836
background
#FAF5F7
surface
#F5EAED
border
#CFC6C8
text
#110509
muted
#80797B