#7C216B#7C216B
#7C216B is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.1% C 0.150 H 336.5°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #7C216B |
|---|---|
| RGB | rgb(124, 33, 107) |
| HSL | hsl(311, 58%, 31%) |
| HSV | hsv(311, 73%, 49%) |
| CMYK | cmyk(0%, 73.4%, 13.7%, 51.4%) |
| CIE-LAB | lab(30.49, 47.00, -22.09) |
| CIE-LCH | lch(30.49, 51.93, 334.83°) |
| OKLab | oklab(42.06% 0.138 -0.0601) |
| OKLCH | oklch(42.06% 0.151 336.5) |
| XYZ | xyz(11.5101, 6.4354, 14.5430) |
| Luminance | 0.0643 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 3.62
Rich Purple
#720058
ΔE00 4.88
Purple
#800080
ΔE00 5.67
Grape
#6C3461
ΔE00 5.70
Velvet
#750851
ΔE00 5.80
Darkmagenta
#8B008B
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C216B #217C32
analogous
#5F217C #7C216B #7C213D
triadic
#7C216B #6B7C21 #216B7C
tetradic
#7C216B #7C5F21 #217C32 #213D7C
square
#7C216B #7C5F21 #217C32 #213D7C
split-complementary
#7C216B #3D7C21 #217C5F
monochromatic
#1B0718 #4C1441 #7C216B #AC2E95 #CF49B6
Accessibility & contrast
On white
9.18
#7C216B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#7C216B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C216B
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C216B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C216B | 1.00 | 9.18 | 2.29 | 9.18 |
| #FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#233F6D
Deuteranopia (green-blind)
#414D69
Tritanopia (blue-blind)
#832743
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7c216b; /* rgb */ color: rgb(124, 33, 107); /* oklch */ color: oklch(42.1% 0.150 336.5);
Tailwind
colors: {
custom: {
50: '#a56595',
500: '#7c216b',
950: '#000000',
},
}SCSS
$custom: #7c216b; $custom-light: #a56595; $custom-dark: #000000;
JSON
{
"hex": "#7c216b",
"rgb": {
"r": 124,
"g": 33,
"b": 107
},
"hsl": {
"h": 311.209,
"s": 57.962,
"l": 30.784
},
"oklch": {
"l": 0.42059,
"c": 0.1505,
"h": 336.5
},
"luminance": 0.06434
}Semantic roles & 50–950 ramp
primary
#7C216B
secondary
#4AAF5D
accent
#E16347
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E