#B4587F#B4587F
#B4587F is a mid, vivid pink. Relative luminance 0.182; OKLCH L 58.3% C 0.127 H 355.0°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #B4587F |
|---|---|
| RGB | rgb(180, 88, 127) |
| HSL | hsl(335, 38%, 53%) |
| HSV | hsv(335, 51%, 71%) |
| CMYK | cmyk(0%, 51.1%, 29.4%, 29.4%) |
| CIE-LAB | lab(49.76, 41.73, -4.36) |
| CIE-LCH | lch(49.76, 41.96, 354.03°) |
| OKLab | oklab(58.34% 0.1264 -0.011) |
| OKLCH | oklch(58.34% 0.127 355) |
| XYZ | xyz(26.1439, 18.2174, 22.2140) |
| Luminance | 0.1822 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 6.07
Darkish Pink
#DA467D
ΔE00 7.39
Dark Pink
#CB416B
ΔE00 7.45
Deep Rose
#C74767
ΔE00 7.92
Mauve (survey)
#AE7181
ΔE00 8.27
Dusky Rose
#BA6873
ΔE00 8.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4587F #58B48D
analogous
#B458AD #B4587F #B45F58
triadic
#B4587F #7FB458 #587FB4
tetradic
#B4587F #ADB458 #58B48D #5F58B4
square
#B4587F #ADB458 #58B48D #5F58B4
split-complementary
#B4587F #58B45F #58ADB4
monochromatic
#642D45 #8F4061 #B4587F #C7829F #DAACC0
Accessibility & contrast
On white
4.52
#B4587F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#B4587F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B4587F
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4587F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4587F | 1.00 | 4.52 | 4.64 | 4.64 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#646C80
Deuteranopia (green-blind)
#7C7D7D
Tritanopia (blue-blind)
#C05366
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #b4587f; /* rgb */ color: rgb(180, 88, 127); /* oklch */ color: oklch(58.3% 0.127 355.0);
Tailwind
colors: {
custom: {
50: '#cd8aa4',
500: '#b4587f',
950: '#000000',
},
}SCSS
$custom: #b4587f; $custom-light: #cd8aa4; $custom-dark: #000000;
JSON
{
"hex": "#b4587f",
"rgb": {
"r": 180,
"g": 88,
"b": 127
},
"hsl": {
"h": 334.565,
"s": 38.017,
"l": 52.549
},
"oklch": {
"l": 0.5834,
"c": 0.12688,
"h": 355
},
"luminance": 0.18215
}Semantic roles & 50–950 ramp
primary
#B4587F
secondary
#A0C8B7
accent
#CE9D5A
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#140C0F
muted
#827D7F