#7C155A#7C155A
#7C155A is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.152 H 345.4°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #7C155A |
|---|---|
| RGB | rgb(124, 21, 90) |
| HSL | hsl(320, 71%, 28%) |
| HSV | hsv(320, 83%, 49%) |
| CMYK | cmyk(0%, 83.1%, 27.4%, 51.4%) |
| CIE-LAB | lab(28.28, 48.50, -14.48) |
| CIE-LCH | lch(28.28, 50.62, 343.38°) |
| OKLab | oklab(40.2% 0.1474 -0.0385) |
| OKLCH | oklch(40.2% 0.152 345.4) |
| XYZ | xyz(10.4263, 5.5608, 10.1951) |
| Luminance | 0.0556 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.24
Rich Purple
#720058
ΔE00 3.39
Red Purple
#820747
ΔE00 5.82
Dark Magenta
#960056
ΔE00 6.17
Reddish Purple
#910951
ΔE00 6.25
Red Violet
#9E0168
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C155A #157C37
analogous
#6A157C #7C155A #7C1526
triadic
#7C155A #5A7C15 #155A7C
tetradic
#7C155A #7C6A15 #157C37 #15267C
square
#7C155A #7C6A15 #157C37 #15267C
split-complementary
#7C155A #267C15 #157C6A
monochromatic
#1A0413 #480C34 #7C155A #B01E80 #DC30A3
Accessibility & contrast
On white
9.94
#7C155A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#7C155A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C155A
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C155A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C155A | 1.00 | 9.94 | 2.11 | 9.94 |
| #FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24385C
Deuteranopia (green-blind)
#444958
Tritanopia (blue-blind)
#851236
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7c155a; /* rgb */ color: rgb(124, 21, 90); /* oklch */ color: oklch(40.2% 0.152 345.4);
Tailwind
colors: {
custom: {
50: '#a66088',
500: '#7c155a',
950: '#000000',
},
}SCSS
$custom: #7c155a; $custom-light: #a66088; $custom-dark: #000000;
JSON
{
"hex": "#7c155a",
"rgb": {
"r": 124,
"g": 21,
"b": 90
},
"hsl": {
"h": 319.806,
"s": 71.034,
"l": 28.431
},
"oklch": {
"l": 0.40195,
"c": 0.15231,
"h": 345.4
},
"luminance": 0.0556
}Semantic roles & 50–950 ramp
primary
#7C155A
secondary
#3CB162
accent
#EE753A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C