#7B2252#7B2252
#7B2252 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.8% C 0.132 H 351.4°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #7B2252 |
|---|---|
| RGB | rgb(123, 34, 82) |
| HSL | hsl(328, 57%, 31%) |
| HSV | hsv(328, 72%, 48%) |
| CMYK | cmyk(0%, 72.4%, 33.3%, 51.8%) |
| CIE-LAB | lab(29.32, 42.73, -7.64) |
| CIE-LCH | lch(29.32, 43.41, 349.87°) |
| OKLab | oklab(40.81% 0.1305 -0.0198) |
| OKLCH | oklch(40.81% 0.132 351.4) |
| XYZ | xyz(10.2639, 5.9654, 8.5919) |
| Luminance | 0.0596 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 4.02
Velvet
#750851
ΔE00 4.18
Reddish Purple
#910951
ΔE00 4.85
Dark Magenta
#960056
ΔE00 5.43
Mulberry
#920A4E
ΔE00 5.45
Wine (survey)
#80013F
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B2252 #227B4B
analogous
#77227B #7B2252 #7B2226
triadic
#7B2252 #527B22 #22527B
tetradic
#7B2252 #7B7722 #227B4B #22267B
square
#7B2252 #7B7722 #227B4B #22267B
split-complementary
#7B2252 #267B22 #227B77
monochromatic
#1B0712 #4B1532 #7B2252 #AB2F72 #CD4A91
Accessibility & contrast
On white
9.58
#7B2252 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#7B2252 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B2252
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B2252 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B2252 | 1.00 | 9.58 | 2.19 | 9.58 |
| #FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#303B53
Deuteranopia (green-blind)
#494B50
Tritanopia (blue-blind)
#841C37
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7b2252; /* rgb */ color: rgb(123, 34, 82); /* oklch */ color: oklch(40.8% 0.132 351.4);
Tailwind
colors: {
custom: {
50: '#a56582',
500: '#7b2252',
950: '#000000',
},
}SCSS
$custom: #7b2252; $custom-light: #a56582; $custom-dark: #000000;
JSON
{
"hex": "#7b2252",
"rgb": {
"r": 123,
"g": 34,
"b": 82
},
"hsl": {
"h": 327.64,
"s": 56.688,
"l": 30.784
},
"oklch": {
"l": 0.40814,
"c": 0.13201,
"h": 351.4
},
"luminance": 0.05964
}Semantic roles & 50–950 ramp
primary
#7B2252
secondary
#4BAE79
accent
#E08E48
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C