#7B296B#7B296B
#7B296B is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.8% C 0.139 H 336.3°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).
Color values
| HEX | #7B296B |
|---|---|
| RGB | rgb(123, 41, 107) |
| HSL | hsl(312, 50%, 32%) |
| HSV | hsv(312, 67%, 48%) |
| CMYK | cmyk(0%, 66.7%, 13%, 51.8%) |
| CIE-LAB | lab(31.48, 43.45, -20.54) |
| CIE-LCH | lch(31.48, 48.06, 334.70°) |
| OKLab | oklab(42.75% 0.1271 -0.0558) |
| OKLCH | oklch(42.75% 0.139 336.3) |
| XYZ | xyz(11.6153, 6.8593, 14.6193) |
| Luminance | 0.0686 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 4.55
Grape
#6C3461
ΔE00 4.57
Bruise
#7E4071
ΔE00 5.45
Rich Purple
#720058
ΔE00 5.85
Velvet
#750851
ΔE00 6.35
Purple
#800080
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B296B #297B39
analogous
#62297B #7B296B #7B2942
triadic
#7B296B #6B7B29 #296B7B
tetradic
#7B296B #7B6229 #297B39 #29427B
square
#7B296B #7B6229 #297B39 #29427B
split-complementary
#7B296B #427B29 #297B62
monochromatic
#1F0A1B #4D1A43 #7B296B #A93893 #C757B1
Accessibility & contrast
On white
8.85
#7B296B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#7B296B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B296B
8.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B296B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B296B | 1.00 | 8.85 | 2.37 | 8.85 |
| #FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A426D
Deuteranopia (green-blind)
#444F69
Tritanopia (blue-blind)
#812E46
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #7b296b; /* rgb */ color: rgb(123, 41, 107); /* oklch */ color: oklch(42.8% 0.139 336.3);
Tailwind
colors: {
custom: {
50: '#a46995',
500: '#7b296b',
950: '#000000',
},
}SCSS
$custom: #7b296b; $custom-light: #a46995; $custom-dark: #000000;
JSON
{
"hex": "#7b296b",
"rgb": {
"r": 123,
"g": 41,
"b": 107
},
"hsl": {
"h": 311.707,
"s": 50,
"l": 32.157
},
"oklch": {
"l": 0.42752,
"c": 0.13885,
"h": 336.3
},
"luminance": 0.06858
}Semantic roles & 50–950 ramp
primary
#7B296B
secondary
#53AC65
accent
#DA694E
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F070D
muted
#7F7A7E