#7F1546#7F1546
#7F1546 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.145 H 358.8°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1546 |
|---|---|
| RGB | rgb(127, 21, 70) |
| HSL | hsl(332, 72%, 29%) |
| HSV | hsv(332, 83%, 50%) |
| CMYK | cmyk(0%, 83.5%, 44.9%, 50.2%) |
| CIE-LAB | lab(28.09, 46.98, -1.42) |
| CIE-LCH | lch(28.09, 47.00, 358.27°) |
| OKLab | oklab(39.91% 0.1446 -0.0031) |
| OKLCH | oklch(39.91% 0.145 358.8) |
| XYZ | xyz(10.1268, 5.4919, 6.3199) |
| Luminance | 0.0549 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 1.35
Wine (survey)
#80013F
ΔE00 2.08
Merlot
#730039
ΔE00 3.53
Mulberry
#920A4E
ΔE00 3.60
Reddish Purple
#910951
ΔE00 3.65
Dark Magenta
#960056
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1546 #157F4E
analogous
#7F157B #7F1546 #7F1915
triadic
#7F1546 #467F15 #15467F
tetradic
#7F1546 #7B7F15 #157F4E #19157F
square
#7F1546 #7B7F15 #157F4E #19157F
split-complementary
#7F1546 #157F19 #157B7F
monochromatic
#1A040E #4A0C29 #7F1546 #B41E63 #DD3181
Accessibility & contrast
On white
10.01
#7F1546 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#7F1546 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1546
10.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1546 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1546 | 1.00 | 10.01 | 2.10 | 10.01 |
| #FFFFFF | 10.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E3647
Deuteranopia (green-blind)
#4B4944
Tritanopia (blue-blind)
#8A002C
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7f1546; /* rgb */ color: rgb(127, 21, 70); /* oklch */ color: oklch(39.9% 0.145 358.8);
Tailwind
colors: {
custom: {
50: '#a96079',
500: '#7f1546',
950: '#000000',
},
}SCSS
$custom: #7f1546; $custom-light: #a96079; $custom-dark: #000000;
JSON
{
"hex": "#7f1546",
"rgb": {
"r": 127,
"g": 21,
"b": 70
},
"hsl": {
"h": 332.264,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.39913,
"c": 0.14459,
"h": 358.8
},
"luminance": 0.05491
}Semantic roles & 50–950 ramp
primary
#7F1546
secondary
#3CB47C
accent
#EE9B39
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110509
muted
#807A7B