#7A175C#7A175C
#7A175C is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.1% C 0.150 H 343.5°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).
Color values
| HEX | #7A175C |
|---|---|
| RGB | rgb(122, 23, 92) |
| HSL | hsl(318, 68%, 28%) |
| HSV | hsv(318, 81%, 48%) |
| CMYK | cmyk(0%, 81.1%, 24.6%, 52.2%) |
| CIE-LAB | lab(28.18, 47.68, -15.98) |
| CIE-LCH | lch(28.18, 50.29, 341.48°) |
| OKLab | oklab(40.08% 0.144 -0.0428) |
| OKLCH | oklch(40.08% 0.15 343.5) |
| XYZ | xyz(10.2646, 5.5242, 10.6488) |
| Luminance | 0.0552 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.54
Rich Purple
#720058
ΔE00 3.02
Grape Purple
#5D1451
ΔE00 6.02
Darkish Purple
#751973
ΔE00 6.16
Grape
#6C3461
ΔE00 6.30
Red Purple
#820747
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A175C #177A35
analogous
#66177A #7A175C #7A172A
triadic
#7A175C #5C7A17 #175C7A
tetradic
#7A175C #7A6617 #177A35 #172A7A
square
#7A175C #7A6617 #177A35 #172A7A
split-complementary
#7A175C #2A7A17 #177A66
monochromatic
#1A0513 #470D35 #7A175C #AD2183 #D933A6
Accessibility & contrast
On white
9.98
#7A175C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#7A175C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A175C
9.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A175C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A175C | 1.00 | 9.98 | 2.10 | 9.98 |
| #FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23385E
Deuteranopia (green-blind)
#42485A
Tritanopia (blue-blind)
#821738
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7a175c; /* rgb */ color: rgb(122, 23, 92); /* oklch */ color: oklch(40.1% 0.150 343.5);
Tailwind
colors: {
custom: {
50: '#a4608a',
500: '#7a175c',
950: '#000000',
},
}SCSS
$custom: #7a175c; $custom-light: #a4608a; $custom-dark: #000000;
JSON
{
"hex": "#7a175c",
"rgb": {
"r": 122,
"g": 23,
"b": 92
},
"hsl": {
"h": 318.182,
"s": 68.276,
"l": 28.431
},
"oklch": {
"l": 0.40082,
"c": 0.15025,
"h": 343.5
},
"luminance": 0.05523
}Semantic roles & 50–950 ramp
primary
#7A175C
secondary
#3EAF60
accent
#EB723D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C