#7B214B#7B214B
#7B214B is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.4% C 0.130 H 356.0°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #7B214B |
|---|---|
| RGB | rgb(123, 33, 75) |
| HSL | hsl(332, 58%, 31%) |
| HSV | hsv(332, 73%, 48%) |
| CMYK | cmyk(0%, 73.2%, 39%, 51.8%) |
| CIE-LAB | lab(28.92, 42.28, -3.61) |
| CIE-LCH | lch(28.92, 42.43, 355.12°) |
| OKLab | oklab(40.43% 0.1296 -0.009) |
| OKLCH | oklch(40.43% 0.13 356) |
| XYZ | xyz(9.9829, 5.8079, 7.2506) |
| Luminance | 0.0581 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.00
Wine (survey)
#80013F
ΔE00 4.12
Reddish Purple
#910951
ΔE00 4.47
Mulberry
#920A4E
ΔE00 4.68
Merlot
#730039
ΔE00 4.85
Velvet
#750851
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B214B #217B51
analogous
#7B2178 #7B214B #7B2421
triadic
#7B214B #4B7B21 #214B7B
tetradic
#7B214B #787B21 #217B51 #24217B
square
#7B214B #787B21 #217B51 #24217B
split-complementary
#7B214B #217B24 #21787B
monochromatic
#1A0710 #4B142E #7B214B #AB2E68 #CE4887
Accessibility & contrast
On white
9.72
#7B214B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#7B214B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B214B
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B214B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B214B | 1.00 | 9.72 | 2.16 | 9.72 |
| #FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#323A4C
Deuteranopia (green-blind)
#4B4A49
Tritanopia (blue-blind)
#851833
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7b214b; /* rgb */ color: rgb(123, 33, 75); /* oklch */ color: oklch(40.4% 0.130 356.0);
Tailwind
colors: {
custom: {
50: '#a5647d',
500: '#7b214b',
950: '#000000',
},
}SCSS
$custom: #7b214b; $custom-light: #a5647d; $custom-dark: #000000;
JSON
{
"hex": "#7b214b",
"rgb": {
"r": 123,
"g": 33,
"b": 75
},
"hsl": {
"h": 332,
"s": 57.692,
"l": 30.588
},
"oklch": {
"l": 0.40433,
"c": 0.12989,
"h": 356
},
"luminance": 0.05807
}Semantic roles & 50–950 ramp
primary
#7B214B
secondary
#4AAE7F
accent
#E19947
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B