#B5488B#B5488B
#B5488B is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.7% C 0.160 H 345.5°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #B5488B |
|---|---|
| RGB | rgb(181, 72, 139) |
| HSL | hsl(323, 43%, 50%) |
| HSV | hsv(323, 60%, 71%) |
| CMYK | cmyk(0%, 60.2%, 23.2%, 29%) |
| CIE-LAB | lab(47.40, 51.45, -15.09) |
| CIE-LCH | lch(47.40, 53.62, 343.65°) |
| OKLab | oklab(56.75% 0.1547 -0.04) |
| OKLCH | oklch(56.75% 0.16 345.5) |
| XYZ | xyz(26.0345, 16.3250, 26.2010) |
| Luminance | 0.1632 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 5.67
Mediumvioletred
#C71585
ΔE00 5.89
Purpleish
#98568D
ΔE00 6.54
Purplish
#94568C
ΔE00 7.34
Magenta (survey)
#C20078
ΔE00 7.52
Ugly Purple
#A442A0
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5488B #48B572
analogous
#A948B5 #B5488B #B54855
triadic
#B5488B #8BB548 #488BB5
tetradic
#B5488B #B5A948 #48B572 #4855B5
square
#B5488B #B5A948 #48B572 #4855B5
split-complementary
#B5488B #55B548 #48B5A9
monochromatic
#5D2548 #893769 #B5488B #C773A7 #D99FC2
Accessibility & contrast
On white
4.92
#B5488B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#B5488B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5488B
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5488B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5488B | 1.00 | 4.92 | 4.26 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#53658D
Deuteranopia (green-blind)
#717788
Tritanopia (blue-blind)
#C04763
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #b5488b; /* rgb */ color: rgb(181, 72, 139); /* oklch */ color: oklch(56.7% 0.160 345.5);
Tailwind
colors: {
custom: {
50: '#ce81ad',
500: '#b5488b',
950: '#000000',
},
}SCSS
$custom: #b5488b; $custom-light: #ce81ad; $custom-dark: #000000;
JSON
{
"hex": "#b5488b",
"rgb": {
"r": 181,
"g": 72,
"b": 139
},
"hsl": {
"h": 323.119,
"s": 43.083,
"l": 49.608
},
"oklch": {
"l": 0.56748,
"c": 0.15977,
"h": 345.5
},
"luminance": 0.16323
}Semantic roles & 50–950 ramp
primary
#B5488B
secondary
#93C5A7
accent
#D38555
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B10
muted
#837C7F