#7C174D#7C174D
#7C174D is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.8% C 0.143 H 353.5°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).
Color values
| HEX | #7C174D |
|---|---|
| RGB | rgb(124, 23, 77) |
| HSL | hsl(328, 69%, 29%) |
| HSV | hsv(328, 81%, 49%) |
| CMYK | cmyk(0%, 81.5%, 37.9%, 51.4%) |
| CIE-LAB | lab(27.94, 46.32, -6.39) |
| CIE-LCH | lch(27.94, 46.76, 352.15°) |
| OKLab | oklab(39.77% 0.1423 -0.0163) |
| OKLCH | oklch(39.77% 0.143 353.5) |
| XYZ | xyz(9.9588, 5.4349, 7.5444) |
| Luminance | 0.0543 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.47
Velvet
#750851
ΔE00 3.67
Reddish Purple
#910951
ΔE00 4.12
Wine (survey)
#80013F
ΔE00 4.23
Mulberry
#920A4E
ΔE00 4.68
Merlot
#730039
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C174D #177C46
analogous
#79177C #7C174D #7C171B
triadic
#7C174D #4D7C17 #174D7C
tetradic
#7C174D #7C7917 #177C46 #171B7C
square
#7C174D #7C7917 #177C46 #171B7C
split-complementary
#7C174D #1B7C17 #177C79
monochromatic
#1A0510 #480D2D #7C174D #B0216D #D9348C
Accessibility & contrast
On white
10.06
#7C174D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#7C174D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C174D
10.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C174D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C174D | 1.00 | 10.06 | 2.09 | 10.06 |
| #FFFFFF | 10.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B364E
Deuteranopia (green-blind)
#48494B
Tritanopia (blue-blind)
#860A30
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7c174d; /* rgb */ color: rgb(124, 23, 77); /* oklch */ color: oklch(39.8% 0.143 353.5);
Tailwind
colors: {
custom: {
50: '#a6607e',
500: '#7c174d',
950: '#000000',
},
}SCSS
$custom: #7c174d; $custom-light: #a6607e; $custom-dark: #000000;
JSON
{
"hex": "#7c174d",
"rgb": {
"r": 124,
"g": 23,
"b": 77
},
"hsl": {
"h": 327.921,
"s": 68.707,
"l": 28.824
},
"oklch": {
"l": 0.39773,
"c": 0.14325,
"h": 353.5
},
"luminance": 0.05434
}Semantic roles & 50–950 ramp
primary
#7C174D
secondary
#3EB173
accent
#EC8E3C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C