#7B285E#7B285E
#7B285E is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.0% C 0.131 H 344.2°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #7B285E |
|---|---|
| RGB | rgb(123, 40, 94) |
| HSL | hsl(321, 51%, 32%) |
| HSV | hsv(321, 67%, 48%) |
| CMYK | cmyk(0%, 67.5%, 23.6%, 51.8%) |
| CIE-LAB | lab(30.73, 41.85, -13.34) |
| CIE-LCH | lch(30.73, 43.93, 342.32°) |
| OKLab | oklab(42.01% 0.1259 -0.0355) |
| OKLCH | oklch(42.01% 0.131 344.2) |
| XYZ | xyz(10.9479, 6.5378, 11.2728) |
| Luminance | 0.0654 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Grape
#6C3461
ΔE00 4.53
Velvet
#750851
ΔE00 4.64
Rich Purple
#720058
ΔE00 5.71
Bruise
#7E4071
ΔE00 6.08
Red Violet
#9E0168
ΔE00 6.79
Red Purple
#820747
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B285E #287B45
analogous
#6F287B #7B285E #7B2835
triadic
#7B285E #5E7B28 #285E7B
tetradic
#7B285E #7B6F28 #287B45 #28357B
square
#7B285E #7B6F28 #287B45 #28357B
split-complementary
#7B285E #357B28 #287B6F
monochromatic
#1F0A17 #4D193B #7B285E #A93781 #C856A0
Accessibility & contrast
On white
9.10
#7B285E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#7B285E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B285E
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B285E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B285E | 1.00 | 9.10 | 2.31 | 9.10 |
| #FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#303F60
Deuteranopia (green-blind)
#484D5C
Tritanopia (blue-blind)
#83273F
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7b285e; /* rgb */ color: rgb(123, 40, 94); /* oklch */ color: oklch(42.0% 0.131 344.2);
Tailwind
colors: {
custom: {
50: '#a4688b',
500: '#7b285e',
950: '#000000',
},
}SCSS
$custom: #7b285e; $custom-light: #a4688b; $custom-dark: #000000;
JSON
{
"hex": "#7b285e",
"rgb": {
"r": 123,
"g": 40,
"b": 94
},
"hsl": {
"h": 320.964,
"s": 50.92,
"l": 31.961
},
"oklch": {
"l": 0.42006,
"c": 0.13077,
"h": 344.2
},
"luminance": 0.06537
}Semantic roles & 50–950 ramp
primary
#7B285E
secondary
#52AD72
accent
#DA7F4D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D