#7C155F#7C155F
#7C155F is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.4% C 0.155 H 342.5°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #7C155F |
|---|---|
| RGB | rgb(124, 21, 95) |
| HSL | hsl(317, 71%, 28%) |
| HSV | hsv(317, 83%, 49%) |
| CMYK | cmyk(0%, 83.1%, 23.4%, 51.4%) |
| CIE-LAB | lab(28.51, 49.17, -17.40) |
| CIE-LCH | lch(28.51, 52.16, 340.52°) |
| OKLab | oklab(40.44% 0.1483 -0.0467) |
| OKLCH | oklch(40.44% 0.155 342.5) |
| XYZ | xyz(10.6463, 5.6488, 11.3539) |
| Luminance | 0.0565 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.01
Velvet
#750851
ΔE00 3.04
Darkish Purple
#751973
ΔE00 5.62
Grape Purple
#5D1451
ΔE00 6.26
Red Violet
#9E0168
ΔE00 6.51
Grape
#6C3461
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C155F #157C32
analogous
#65157C #7C155F #7C152B
triadic
#7C155F #5F7C15 #155F7C
tetradic
#7C155F #7C6515 #157C32 #152B7C
square
#7C155F #7C6515 #157C32 #152B7C
split-complementary
#7C155F #2B7C15 #157C65
monochromatic
#1A0414 #480C37 #7C155F #B01E87 #DC30AB
Accessibility & contrast
On white
9.86
#7C155F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#7C155F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C155F
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C155F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C155F | 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)
#213961
Deuteranopia (green-blind)
#42495D
Tritanopia (blue-blind)
#841639
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7c155f; /* rgb */ color: rgb(124, 21, 95); /* oklch */ color: oklch(40.4% 0.155 342.5);
Tailwind
colors: {
custom: {
50: '#a6608c',
500: '#7c155f',
950: '#000000',
},
}SCSS
$custom: #7c155f; $custom-light: #a6608c; $custom-dark: #000000;
JSON
{
"hex": "#7c155f",
"rgb": {
"r": 124,
"g": 21,
"b": 95
},
"hsl": {
"h": 316.893,
"s": 71.034,
"l": 28.431
},
"oklch": {
"l": 0.40438,
"c": 0.15543,
"h": 342.5
},
"luminance": 0.05648
}Semantic roles & 50–950 ramp
primary
#7C155F
secondary
#3CB15D
accent
#EE6D3A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D