#7C1F48#7C1F48
#7C1F48 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.132 H 358.1°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #7C1F48 |
|---|---|
| RGB | rgb(124, 31, 72) |
| HSL | hsl(334, 60%, 30%) |
| HSV | hsv(334, 75%, 49%) |
| CMYK | cmyk(0%, 75%, 41.9%, 51.4%) |
| CIE-LAB | lab(28.73, 43.02, -1.88) |
| CIE-LCH | lch(28.73, 43.06, 357.50°) |
| OKLab | oklab(40.29% 0.132 -0.0044) |
| OKLCH | oklch(40.29% 0.132 358.1) |
| XYZ | xyz(9.9726, 5.7342, 6.7113) |
| Luminance | 0.0573 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.64
Wine (survey)
#80013F
ΔE00 3.35
Merlot
#730039
ΔE00 4.30
Mulberry
#920A4E
ΔE00 4.34
Reddish Purple
#910951
ΔE00 4.34
Dark Magenta
#960056
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C1F48 #1F7C53
analogous
#7C1F76 #7C1F48 #7C241F
triadic
#7C1F48 #487C1F #1F487C
tetradic
#7C1F48 #767C1F #1F7C53 #241F7C
square
#7C1F48 #767C1F #1F7C53 #241F7C
split-complementary
#7C1F48 #1F7C24 #1F767C
monochromatic
#1A070F #4B132C #7C1F48 #AD2B64 #D04582
Accessibility & contrast
On white
9.78
#7C1F48 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7C1F48 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C1F48
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C1F48 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C1F48 | 1.00 | 9.78 | 2.15 | 9.78 |
| #FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#323949
Deuteranopia (green-blind)
#4B4A46
Tritanopia (blue-blind)
#871330
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7c1f48; /* rgb */ color: rgb(124, 31, 72); /* oklch */ color: oklch(40.3% 0.132 358.1);
Tailwind
colors: {
custom: {
50: '#a6637a',
500: '#7c1f48',
950: '#000000',
},
}SCSS
$custom: #7c1f48; $custom-light: #a6637a; $custom-dark: #000000;
JSON
{
"hex": "#7c1f48",
"rgb": {
"r": 124,
"g": 31,
"b": 72
},
"hsl": {
"h": 333.548,
"s": 60,
"l": 30.392
},
"oklch": {
"l": 0.40295,
"c": 0.13206,
"h": 358.1
},
"luminance": 0.05733
}Semantic roles & 50–950 ramp
primary
#7C1F48
secondary
#48AF82
accent
#E39D45
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B