#7B1863#7B1863
#7B1863 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.7% C 0.154 H 340.0°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #7B1863 |
|---|---|
| RGB | rgb(123, 24, 99) |
| HSL | hsl(315, 67%, 29%) |
| HSV | hsv(315, 80%, 48%) |
| CMYK | cmyk(0%, 80.5%, 19.5%, 51.8%) |
| CIE-LAB | lab(28.81, 48.62, -19.54) |
| CIE-LCH | lch(28.81, 52.40, 338.10°) |
| OKLab | oklab(40.69% 0.1452 -0.0528) |
| OKLCH | oklch(40.69% 0.155 340) |
| XYZ | xyz(10.7475, 5.7662, 12.3489) |
| Luminance | 0.0576 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.22
Velvet
#750851
ΔE00 3.93
Darkish Purple
#751973
ΔE00 4.60
Grape Purple
#5D1451
ΔE00 6.13
Grape
#6C3461
ΔE00 6.24
Purple
#800080
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B1863 #187B30
analogous
#62187B #7B1863 #7B1832
triadic
#7B1863 #637B18 #18637B
tetradic
#7B1863 #7B6218 #187B30 #18327B
square
#7B1863 #7B6218 #187B30 #18327B
split-complementary
#7B1863 #327B18 #187B62
monochromatic
#1A0515 #480E3A #7B1863 #AE228C #D836B0
Accessibility & contrast
On white
9.75
#7B1863 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7B1863 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B1863
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B1863 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B1863 | 1.00 | 9.75 | 2.15 | 9.75 |
| #FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#203A65
Deuteranopia (green-blind)
#414961
Tritanopia (blue-blind)
#831C3C
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7b1863; /* rgb */ color: rgb(123, 24, 99); /* oklch */ color: oklch(40.7% 0.154 340.0);
Tailwind
colors: {
custom: {
50: '#a5618f',
500: '#7b1863',
950: '#000000',
},
}SCSS
$custom: #7b1863; $custom-light: #a5618f; $custom-dark: #000000;
JSON
{
"hex": "#7b1863",
"rgb": {
"r": 123,
"g": 24,
"b": 99
},
"hsl": {
"h": 314.545,
"s": 67.347,
"l": 28.824
},
"oklch": {
"l": 0.40687,
"c": 0.1545,
"h": 340
},
"luminance": 0.05765
}Semantic roles & 50–950 ramp
primary
#7B1863
secondary
#3FB05A
accent
#EA673E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D