#B54286#B54286
#B54286 is a mid, vivid pink. Relative luminance 0.154; OKLCH L 55.8% C 0.166 H 347.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #B54286 |
|---|---|
| RGB | rgb(181, 66, 134) |
| HSL | hsl(325, 47%, 48%) |
| HSV | hsv(325, 64%, 71%) |
| CMYK | cmyk(0%, 63.5%, 26%, 29%) |
| CIE-LAB | lab(46.24, 53.41, -13.84) |
| CIE-LCH | lch(46.24, 55.17, 345.47°) |
| OKLab | oklab(55.83% 0.1615 -0.0365) |
| OKLCH | oklch(55.83% 0.166 347.3) |
| XYZ | xyz(25.3083, 15.4439, 24.1978) |
| Luminance | 0.1544 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.85
Magenta (survey)
#C20078
ΔE00 6.18
Light Plum
#9D5783
ΔE00 6.20
Purpleish
#98568D
ΔE00 7.25
Purplish
#94568C
ΔE00 7.98
Ugly Purple
#A442A0
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B54286 #42B571
analogous
#AA42B5 #B54286 #B5424C
triadic
#B54286 #86B542 #4286B5
tetradic
#B54286 #B5AA42 #42B571 #424CB5
square
#B54286 #B5AA42 #42B571 #424CB5
split-complementary
#B54286 #4CB542 #42B5AA
monochromatic
#5B2144 #883265 #B54286 #C96BA3 #D998BF
Accessibility & contrast
On white
5.14
#B54286 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#B54286 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B54286
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B54286 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B54286 | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F6188
Deuteranopia (green-blind)
#707583
Tritanopia (blue-blind)
#C13F5E
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #b54286; /* rgb */ color: rgb(181, 66, 134); /* oklch */ color: oklch(55.8% 0.166 347.3);
Tailwind
colors: {
custom: {
50: '#cf7da9',
500: '#b54286',
950: '#000000',
},
}SCSS
$custom: #b54286; $custom-light: #cf7da9; $custom-dark: #000000;
JSON
{
"hex": "#b54286",
"rgb": {
"r": 181,
"g": 66,
"b": 134
},
"hsl": {
"h": 324.522,
"s": 46.559,
"l": 48.431
},
"oklch": {
"l": 0.55829,
"c": 0.16557,
"h": 347.3
},
"luminance": 0.15441
}Semantic roles & 50–950 ramp
primary
#B54286
secondary
#8EC5A4
accent
#D68852
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A0F
muted
#837C7F