#7C175B#7C175B
#7C175B is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.151 H 344.9°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #7C175B |
|---|---|
| RGB | rgb(124, 23, 91) |
| HSL | hsl(320, 69%, 29%) |
| HSV | hsv(320, 81%, 49%) |
| CMYK | cmyk(0%, 81.5%, 26.6%, 51.4%) |
| CIE-LAB | lab(28.52, 48.06, -14.76) |
| CIE-LCH | lch(28.52, 50.27, 342.93°) |
| OKLab | oklab(40.39% 0.1458 -0.0393) |
| OKLCH | oklch(40.39% 0.151 344.9) |
| XYZ | xyz(10.5074, 5.6544, 10.4336) |
| Luminance | 0.0565 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.48
Rich Purple
#720058
ΔE00 3.48
Red Purple
#820747
ΔE00 6.02
Dark Magenta
#960056
ΔE00 6.27
Red Violet
#9E0168
ΔE00 6.34
Reddish Purple
#910951
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C175B #177C38
analogous
#6B177C #7C175B #7C1729
triadic
#7C175B #5B7C17 #175B7C
tetradic
#7C175B #7C6B17 #177C38 #17297C
square
#7C175B #7C6B17 #177C38 #17297C
split-complementary
#7C175B #297C17 #177C6B
monochromatic
#1A0513 #480D35 #7C175B #B02181 #D934A3
Accessibility & contrast
On white
9.86
#7C175B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#7C175B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C175B
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C175B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C175B | 1.00 | 9.86 | 2.13 | 9.86 |
| #FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25385D
Deuteranopia (green-blind)
#444959
Tritanopia (blue-blind)
#851537
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7c175b; /* rgb */ color: rgb(124, 23, 91); /* oklch */ color: oklch(40.4% 0.151 344.9);
Tailwind
colors: {
custom: {
50: '#a66189',
500: '#7c175b',
950: '#000000',
},
}SCSS
$custom: #7c175b; $custom-light: #a66189; $custom-dark: #000000;
JSON
{
"hex": "#7c175b",
"rgb": {
"r": 124,
"g": 23,
"b": 91
},
"hsl": {
"h": 319.604,
"s": 68.707,
"l": 28.824
},
"oklch": {
"l": 0.40388,
"c": 0.15097,
"h": 344.9
},
"luminance": 0.05653
}Semantic roles & 50–950 ramp
primary
#7C175B
secondary
#3EB164
accent
#EC763C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C