#7F1249#7F1249
#7F1249 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.8% C 0.148 H 356.5°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1249 |
|---|---|
| RGB | rgb(127, 18, 73) |
| HSL | hsl(330, 75%, 28%) |
| HSV | hsv(330, 86%, 50%) |
| CMYK | cmyk(0%, 85.8%, 42.5%, 50.2%) |
| CIE-LAB | lab(27.92, 48.09, -3.68) |
| CIE-LCH | lch(27.92, 48.23, 355.62°) |
| OKLab | oklab(39.82% 0.1481 -0.0091) |
| OKLCH | oklch(39.82% 0.148 356.5) |
| XYZ | xyz(10.1721, 5.4270, 6.8139) |
| Luminance | 0.0543 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 1.06
Wine (survey)
#80013F
ΔE00 2.78
Reddish Purple
#910951
ΔE00 3.41
Mulberry
#920A4E
ΔE00 3.71
Merlot
#730039
ΔE00 3.87
Dark Magenta
#960056
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1249 #127F48
analogous
#7E127F #7F1249 #7F1212
triadic
#7F1249 #497F12 #12497F
tetradic
#7F1249 #7F7E12 #127F48 #12127F
square
#7F1249 #7F7E12 #127F48 #12127F
split-complementary
#7F1249 #127F12 #127F7E
monochromatic
#1B040F #490A2A #7F1249 #B51A68 #E12B87
Accessibility & contrast
On white
10.07
#7F1249 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#7F1249 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1249
10.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1249 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1249 | 1.00 | 10.07 | 2.09 | 10.07 |
| #FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C354A
Deuteranopia (green-blind)
#4A4947
Tritanopia (blue-blind)
#8A002C
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7f1249; /* rgb */ color: rgb(127, 18, 73); /* oklch */ color: oklch(39.8% 0.148 356.5);
Tailwind
colors: {
custom: {
50: '#a95f7b',
500: '#7f1249',
950: '#000000',
},
}SCSS
$custom: #7f1249; $custom-light: #a95f7b; $custom-dark: #000000;
JSON
{
"hex": "#7f1249",
"rgb": {
"r": 127,
"g": 18,
"b": 73
},
"hsl": {
"h": 329.725,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.3982,
"c": 0.14839,
"h": 356.5
},
"luminance": 0.05426
}Semantic roles & 50–950 ramp
primary
#7F1249
secondary
#38B576
accent
#F29336
background
#FAF5F7
surface
#F5EAED
border
#CFC6C8
text
#110509
muted
#80797B