#7B1F56#7B1F56
#7B1F56 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.7% C 0.138 H 348.3°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #7B1F56 |
|---|---|
| RGB | rgb(123, 31, 86) |
| HSL | hsl(324, 60%, 30%) |
| HSV | hsv(324, 75%, 48%) |
| CMYK | cmyk(0%, 74.8%, 30.1%, 51.8%) |
| CIE-LAB | lab(29.07, 44.42, -10.66) |
| CIE-LCH | lch(29.07, 45.69, 346.51°) |
| OKLab | oklab(40.68% 0.1353 -0.028) |
| OKLCH | oklch(40.68% 0.138 348.3) |
| XYZ | xyz(10.3386, 5.8640, 9.3897) |
| Luminance | 0.0586 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.17
Red Purple
#820747
ΔE00 4.80
Rich Purple
#720058
ΔE00 5.15
Reddish Purple
#910951
ΔE00 5.40
Dark Magenta
#960056
ΔE00 5.67
Mulberry
#920A4E
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B1F56 #1F7B44
analogous
#721F7B #7B1F56 #7B1F28
triadic
#7B1F56 #567B1F #1F567B
tetradic
#7B1F56 #7B721F #1F7B44 #1F287B
square
#7B1F56 #7B721F #1F7B44 #1F287B
split-complementary
#7B1F56 #287B1F #1F7B72
monochromatic
#190612 #4A1334 #7B1F56 #AC2B78 #D04498
Accessibility & contrast
On white
9.67
#7B1F56 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#7B1F56 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B1F56
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B1F56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B1F56 | 1.00 | 9.67 | 2.17 | 9.67 |
| #FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C3A58
Deuteranopia (green-blind)
#474A54
Tritanopia (blue-blind)
#841B37
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7b1f56; /* rgb */ color: rgb(123, 31, 86); /* oklch */ color: oklch(40.7% 0.138 348.3);
Tailwind
colors: {
custom: {
50: '#a56485',
500: '#7b1f56',
950: '#000000',
},
}SCSS
$custom: #7b1f56; $custom-light: #a56485; $custom-dark: #000000;
JSON
{
"hex": "#7b1f56",
"rgb": {
"r": 123,
"g": 31,
"b": 86
},
"hsl": {
"h": 324.13,
"s": 59.74,
"l": 30.196
},
"oklch": {
"l": 0.40677,
"c": 0.13814,
"h": 348.3
},
"luminance": 0.05863
}Semantic roles & 50–950 ramp
primary
#7B1F56
secondary
#48AE71
accent
#E38445
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C