#7C174F#7C174F
#7C174F is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.144 H 352.2°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).
Color values
| HEX | #7C174F |
|---|---|
| RGB | rgb(124, 23, 79) |
| HSL | hsl(327, 69%, 29%) |
| HSV | hsv(327, 81%, 49%) |
| CMYK | cmyk(0%, 81.5%, 36.3%, 51.4%) |
| CIE-LAB | lab(28.02, 46.56, -7.60) |
| CIE-LCH | lch(28.02, 47.17, 350.72°) |
| OKLab | oklab(39.86% 0.1429 -0.0196) |
| OKLCH | oklch(39.86% 0.144 352.2) |
| XYZ | xyz(10.0305, 5.4636, 7.9220) |
| Luminance | 0.0546 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.94
Velvet
#750851
ΔE00 3.21
Reddish Purple
#910951
ΔE00 4.31
Wine (survey)
#80013F
ΔE00 4.76
Dark Magenta
#960056
ΔE00 4.91
Mulberry
#920A4E
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C174F #177C44
analogous
#77177C #7C174F #7C171D
triadic
#7C174F #4F7C17 #174F7C
tetradic
#7C174F #7C7717 #177C44 #171D7C
square
#7C174F #7C7717 #177C44 #171D7C
split-complementary
#7C174F #1D7C17 #177C77
monochromatic
#1A0510 #480D2E #7C174F #B02170 #D93490
Accessibility & contrast
On white
10.04
#7C174F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#7C174F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C174F
10.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C174F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C174F | 1.00 | 10.04 | 2.09 | 10.04 |
| #FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B3750
Deuteranopia (green-blind)
#47494D
Tritanopia (blue-blind)
#860C31
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7c174f; /* rgb */ color: rgb(124, 23, 79); /* oklch */ color: oklch(39.9% 0.144 352.2);
Tailwind
colors: {
custom: {
50: '#a66080',
500: '#7c174f',
950: '#000000',
},
}SCSS
$custom: #7c174f; $custom-light: #a66080; $custom-dark: #000000;
JSON
{
"hex": "#7c174f",
"rgb": {
"r": 124,
"g": 23,
"b": 79
},
"hsl": {
"h": 326.733,
"s": 68.707,
"l": 28.824
},
"oklch": {
"l": 0.39855,
"c": 0.14423,
"h": 352.2
},
"luminance": 0.05462
}Semantic roles & 50–950 ramp
primary
#7C174F
secondary
#3EB171
accent
#EC8A3C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C