#7F1348#7F1348
#7F1348 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.8% C 0.147 H 357.2°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1348 |
|---|---|
| RGB | rgb(127, 19, 72) |
| HSL | hsl(331, 74%, 29%) |
| HSV | hsv(331, 85%, 50%) |
| CMYK | cmyk(0%, 85%, 43.3%, 50.2%) |
| CIE-LAB | lab(27.97, 47.73, -2.93) |
| CIE-LCH | lch(27.97, 47.82, 356.48°) |
| OKLab | oklab(39.85% 0.147 -0.0071) |
| OKLCH | oklch(39.85% 0.147 357.2) |
| XYZ | xyz(10.1557, 5.4470, 6.6462) |
| Luminance | 0.0545 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 1.02
Wine (survey)
#80013F
ΔE00 2.51
Reddish Purple
#910951
ΔE00 3.45
Mulberry
#920A4E
ΔE00 3.63
Merlot
#730039
ΔE00 3.72
Dark Magenta
#960056
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1348 #137F4A
analogous
#7F137E #7F1348 #7F1413
triadic
#7F1348 #487F13 #13487F
tetradic
#7F1348 #7E7F13 #137F4A #14137F
square
#7F1348 #7E7F13 #137F4A #14137F
split-complementary
#7F1348 #137F14 #137E7F
monochromatic
#1B040F #4A0B2A #7F1348 #B41B66 #E02D85
Accessibility & contrast
On white
10.05
#7F1348 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#7F1348 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1348
10.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1348 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1348 | 1.00 | 10.05 | 2.09 | 10.05 |
| #FFFFFF | 10.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D3549
Deuteranopia (green-blind)
#4A4946
Tritanopia (blue-blind)
#8A002C
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7f1348; /* rgb */ color: rgb(127, 19, 72); /* oklch */ color: oklch(39.8% 0.147 357.2);
Tailwind
colors: {
custom: {
50: '#a95f7a',
500: '#7f1348',
950: '#000000',
},
}SCSS
$custom: #7f1348; $custom-light: #a95f7a; $custom-dark: #000000;
JSON
{
"hex": "#7f1348",
"rgb": {
"r": 127,
"g": 19,
"b": 72
},
"hsl": {
"h": 330.556,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.39847,
"c": 0.14713,
"h": 357.2
},
"luminance": 0.05446
}Semantic roles & 50–950 ramp
primary
#7F1348
secondary
#39B478
accent
#F19637
background
#FAF5F7
surface
#F5EAED
border
#CFC6C8
text
#110509
muted
#80797B