#7B286B#7B286B
#7B286B is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.6% C 0.140 H 336.3°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).
Color values
| HEX | #7B286B |
|---|---|
| RGB | rgb(123, 40, 107) |
| HSL | hsl(312, 51%, 32%) |
| HSV | hsv(312, 67%, 48%) |
| CMYK | cmyk(0%, 67.5%, 13%, 51.8%) |
| CIE-LAB | lab(31.33, 43.89, -20.79) |
| CIE-LCH | lch(31.33, 48.56, 334.65°) |
| OKLab | oklab(42.64% 0.1284 -0.0565) |
| OKLCH | oklch(42.64% 0.14 336.3) |
| XYZ | xyz(11.5812, 6.7910, 14.6079) |
| Luminance | 0.0679 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 4.39
Grape
#6C3461
ΔE00 4.71
Bruise
#7E4071
ΔE00 5.64
Rich Purple
#720058
ΔE00 5.70
Velvet
#750851
ΔE00 6.26
Purple
#800080
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B286B #287B38
analogous
#62287B #7B286B #7B2842
triadic
#7B286B #6B7B28 #286B7B
tetradic
#7B286B #7B6228 #287B38 #28427B
square
#7B286B #7B6228 #287B38 #28427B
split-complementary
#7B286B #427B28 #287B62
monochromatic
#1F0A1B #4D1943 #7B286B #A93793 #C856B2
Accessibility & contrast
On white
8.91
#7B286B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#7B286B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B286B
8.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B286B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B286B | 1.00 | 8.91 | 2.36 | 8.91 |
| #FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#29426D
Deuteranopia (green-blind)
#444E69
Tritanopia (blue-blind)
#812D45
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #7b286b; /* rgb */ color: rgb(123, 40, 107); /* oklch */ color: oklch(42.6% 0.140 336.3);
Tailwind
colors: {
custom: {
50: '#a46995',
500: '#7b286b',
950: '#000000',
},
}SCSS
$custom: #7b286b; $custom-light: #a46995; $custom-dark: #000000;
JSON
{
"hex": "#7b286b",
"rgb": {
"r": 123,
"g": 40,
"b": 107
},
"hsl": {
"h": 311.566,
"s": 50.92,
"l": 31.961
},
"oklch": {
"l": 0.42636,
"c": 0.1403,
"h": 336.3
},
"luminance": 0.0679
}Semantic roles & 50–950 ramp
primary
#7B286B
secondary
#52AD63
accent
#DA694D
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F070D
muted
#7F7A7E