#B0508E#B0508E
#B0508E is a mid, vivid pink. Relative luminance 0.169; OKLCH L 57.2% C 0.145 H 343.1°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #B0508E |
|---|---|
| RGB | rgb(176, 80, 142) |
| HSL | hsl(321, 38%, 50%) |
| HSV | hsv(321, 55%, 69%) |
| CMYK | cmyk(0%, 54.5%, 19.3%, 31%) |
| CIE-LAB | lab(48.16, 46.58, -15.80) |
| CIE-LCH | lch(48.16, 49.18, 341.26°) |
| OKLab | oklab(57.2% 0.1387 -0.042) |
| OKLCH | oklch(57.2% 0.145 343.1) |
| XYZ | xyz(25.6562, 16.9225, 27.5011) |
| Luminance | 0.1692 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 4.49
Purpleish
#98568D
ΔE00 5.20
Purplish
#94568C
ΔE00 6.06
Ugly Purple
#A442A0
ΔE00 7.49
Mediumvioletred
#C71585
ΔE00 7.68
Purplish Pink
#CE5DAE
ΔE00 8.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B0508E #50B072
analogous
#A250B0 #B0508E #B0505E
triadic
#B0508E #8EB050 #508EB0
tetradic
#B0508E #B0A250 #50B072 #505EB0
square
#B0508E #B0A250 #50B072 #505EB0
split-complementary
#B0508E #5EB050 #50B0A2
monochromatic
#5C2A4A #863D6C #B0508E #C37AA9 #D6A4C4
Accessibility & contrast
On white
4.79
#B0508E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#B0508E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B0508E
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B0508E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B0508E | 1.00 | 4.79 | 4.38 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#576890
Deuteranopia (green-blind)
#72788C
Tritanopia (blue-blind)
#BA5068
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #b0508e; /* rgb */ color: rgb(176, 80, 142); /* oklch */ color: oklch(57.2% 0.145 343.1);
Tailwind
colors: {
custom: {
50: '#ca85af',
500: '#b0508e',
950: '#000000',
},
}SCSS
$custom: #b0508e; $custom-light: #ca85af; $custom-dark: #000000;
JSON
{
"hex": "#b0508e",
"rgb": {
"r": 176,
"g": 80,
"b": 142
},
"hsl": {
"h": 321.25,
"s": 37.795,
"l": 50.196
},
"oklch": {
"l": 0.572,
"c": 0.14492,
"h": 343.1
},
"luminance": 0.1692
}Semantic roles & 50–950 ramp
primary
#B0508E
secondary
#98C3A8
accent
#CE835A
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B10
muted
#827C7F