#7B3156#7B3156
#7B3156 is a dark, moderate pink. Relative luminance 0.071; OKLCH L 42.8% C 0.112 H 351.7°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7B3156 |
|---|---|
| RGB | rgb(123, 49, 86) |
| HSL | hsl(330, 43%, 34%) |
| HSV | hsv(330, 60%, 48%) |
| CMYK | cmyk(0%, 60.2%, 30.1%, 51.8%) |
| CIE-LAB | lab(31.99, 36.42, -6.25) |
| CIE-LCH | lch(31.99, 36.95, 350.26°) |
| OKLab | oklab(42.83% 0.1105 -0.0161) |
| OKLCH | oklch(42.83% 0.112 351.7) |
| XYZ | xyz(10.9469, 7.0805, 9.5925) |
| Luminance | 0.0708 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Grape
#6C3461
ΔE00 5.96
Red Purple
#820747
ΔE00 6.34
Reddish Purple
#910951
ΔE00 6.46
Mulberry
#920A4E
ΔE00 6.80
Bruise
#7E4071
ΔE00 6.89
Dark Magenta
#960056
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B3156 #317B56
analogous
#7B317B #7B3156 #7B3131
triadic
#7B3156 #567B31 #31567B
tetradic
#7B3156 #7B7B31 #317B56 #31317B
square
#7B3156 #7B7B31 #317B56 #31317B
split-complementary
#7B3156 #317B31 #317B7B
monochromatic
#230E19 #4F2037 #7B3156 #A74275 #C26593
Accessibility & contrast
On white
8.69
#7B3156 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#7B3156 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B3156
8.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B3156 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B3156 | 1.00 | 8.69 | 2.42 | 8.69 |
| #FFFFFF | 8.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B4357
Deuteranopia (green-blind)
#4F5054
Tritanopia (blue-blind)
#842E3F
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #7b3156; /* rgb */ color: rgb(123, 49, 86); /* oklch */ color: oklch(42.8% 0.112 351.7);
Tailwind
colors: {
custom: {
50: '#a46d85',
500: '#7b3156',
950: '#000000',
},
}SCSS
$custom: #7b3156; $custom-light: #a46d85; $custom-dark: #000000;
JSON
{
"hex": "#7b3156",
"rgb": {
"r": 123,
"g": 49,
"b": 86
},
"hsl": {
"h": 330,
"s": 43.023,
"l": 33.725
},
"oklch": {
"l": 0.42832,
"c": 0.11163,
"h": 351.7
},
"luminance": 0.07079
}Semantic roles & 50–950 ramp
primary
#7B3156
secondary
#5FA984
accent
#D39455
background
#FAF6F8
surface
#F4ECEF
border
#CEC7CA
text
#0F070B
muted
#7F7A7C