#7C1858#7C1858
#7C1858 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.148 H 346.8°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #7C1858 |
|---|---|
| RGB | rgb(124, 24, 88) |
| HSL | hsl(322, 68%, 29%) |
| HSV | hsv(322, 81%, 49%) |
| CMYK | cmyk(0%, 80.6%, 29%, 51.4%) |
| CIE-LAB | lab(28.50, 47.36, -12.83) |
| CIE-LCH | lch(28.50, 49.07, 344.85°) |
| OKLab | oklab(40.33% 0.1442 -0.0339) |
| OKLCH | oklch(40.33% 0.148 346.8) |
| XYZ | xyz(10.4008, 5.6441, 9.7723) |
| Luminance | 0.0564 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.33
Rich Purple
#720058
ΔE00 4.01
Red Purple
#820747
ΔE00 5.22
Reddish Purple
#910951
ΔE00 5.73
Dark Magenta
#960056
ΔE00 5.78
Red Violet
#9E0168
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C1858 #187C3C
analogous
#6E187C #7C1858 #7C1826
triadic
#7C1858 #587C18 #18587C
tetradic
#7C1858 #7C6E18 #187C3C #18267C
square
#7C1858 #7C6E18 #187C3C #18267C
split-complementary
#7C1858 #267C18 #187C6E
monochromatic
#1A0512 #490E34 #7C1858 #AF227C #D8369E
Accessibility & contrast
On white
9.87
#7C1858 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#7C1858 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C1858
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C1858 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C1858 | 1.00 | 9.87 | 2.13 | 9.87 |
| #FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27385A
Deuteranopia (green-blind)
#454956
Tritanopia (blue-blind)
#851436
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7c1858; /* rgb */ color: rgb(124, 24, 88); /* oklch */ color: oklch(40.3% 0.148 346.8);
Tailwind
colors: {
custom: {
50: '#a66187',
500: '#7c1858',
950: '#000000',
},
}SCSS
$custom: #7c1858; $custom-light: #a66187; $custom-dark: #000000;
JSON
{
"hex": "#7c1858",
"rgb": {
"r": 124,
"g": 24,
"b": 88
},
"hsl": {
"h": 321.6,
"s": 67.568,
"l": 29.02
},
"oklch": {
"l": 0.40325,
"c": 0.14813,
"h": 346.8
},
"luminance": 0.05643
}Semantic roles & 50–950 ramp
primary
#7C1858
secondary
#3FB168
accent
#EA7C3D
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C