#7B1954#7B1954
#7B1954 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.144 H 348.9°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #7B1954 |
|---|---|
| RGB | rgb(123, 25, 84) |
| HSL | hsl(324, 66%, 29%) |
| HSV | hsv(324, 80%, 48%) |
| CMYK | cmyk(0%, 79.7%, 31.7%, 51.8%) |
| CIE-LAB | lab(28.24, 46.26, -10.60) |
| CIE-LCH | lch(28.24, 47.46, 347.10°) |
| OKLab | oklab(40.05% 0.1413 -0.0278) |
| OKLCH | oklch(40.05% 0.144 348.9) |
| XYZ | xyz(10.1168, 5.5475, 8.9238) |
| Luminance | 0.0555 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.45
Red Purple
#820747
ΔE00 4.34
Rich Purple
#720058
ΔE00 4.68
Reddish Purple
#910951
ΔE00 5.21
Dark Magenta
#960056
ΔE00 5.49
Mulberry
#920A4E
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B1954 #197B40
analogous
#71197B #7B1954 #7B1923
triadic
#7B1954 #547B19 #19547B
tetradic
#7B1954 #7B7119 #197B40 #19237B
square
#7B1954 #7B7119 #197B40 #19237B
split-complementary
#7B1954 #237B19 #197B71
monochromatic
#190511 #480F31 #7B1954 #AE2377 #D73897
Accessibility & contrast
On white
9.96
#7B1954 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#7B1954 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B1954
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B1954 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B1954 | 1.00 | 9.96 | 2.11 | 9.96 |
| #FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#293856
Deuteranopia (green-blind)
#464952
Tritanopia (blue-blind)
#841334
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7b1954; /* rgb */ color: rgb(123, 25, 84); /* oklch */ color: oklch(40.0% 0.144 348.9);
Tailwind
colors: {
custom: {
50: '#a56184',
500: '#7b1954',
950: '#000000',
},
}SCSS
$custom: #7b1954; $custom-light: #a56184; $custom-dark: #000000;
JSON
{
"hex": "#7b1954",
"rgb": {
"r": 123,
"g": 25,
"b": 84
},
"hsl": {
"h": 323.878,
"s": 66.216,
"l": 29.02
},
"oklch": {
"l": 0.40048,
"c": 0.14404,
"h": 348.9
},
"luminance": 0.05546
}Semantic roles & 50–950 ramp
primary
#7B1954
secondary
#40AF6D
accent
#E9833F
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050A
muted
#7F7A7C