#B54182#B54182
#B54182 is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.6% C 0.165 H 349.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #B54182 |
|---|---|
| RGB | rgb(181, 65, 130) |
| HSL | hsl(326, 47%, 48%) |
| HSV | hsv(326, 64%, 71%) |
| CMYK | cmyk(0%, 64.1%, 28.2%, 29%) |
| CIE-LAB | lab(45.93, 53.31, -11.88) |
| CIE-LCH | lch(45.93, 54.62, 347.44°) |
| OKLab | oklab(55.56% 0.1618 -0.0311) |
| OKLCH | oklch(55.56% 0.165 349.1) |
| XYZ | xyz(24.9767, 15.2186, 22.7369) |
| Luminance | 0.1522 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.79
Magenta (survey)
#C20078
ΔE00 5.78
Light Plum
#9D5783
ΔE00 6.33
Purpleish
#98568D
ΔE00 7.75
Purplish
#94568C
ΔE00 8.44
Ugly Purple
#A442A0
ΔE00 8.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B54182 #41B574
analogous
#AE41B5 #B54182 #B54148
triadic
#B54182 #82B541 #4182B5
tetradic
#B54182 #B5AE41 #41B574 #4148B5
square
#B54182 #B5AE41 #41B574 #4148B5
split-complementary
#B54182 #48B541 #41B5AE
monochromatic
#5B2141 #883162 #B54182 #C96A9F #DA97BC
Accessibility & contrast
On white
5.19
#B54182 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#B54182 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B54182
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B54182 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B54182 | 1.00 | 5.19 | 4.04 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#506084
Deuteranopia (green-blind)
#71747F
Tritanopia (blue-blind)
#C13C5C
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #b54182; /* rgb */ color: rgb(181, 65, 130); /* oklch */ color: oklch(55.6% 0.165 349.1);
Tailwind
colors: {
custom: {
50: '#cf7da6',
500: '#b54182',
950: '#000000',
},
}SCSS
$custom: #b54182; $custom-light: #cf7da6; $custom-dark: #000000;
JSON
{
"hex": "#b54182",
"rgb": {
"r": 181,
"g": 65,
"b": 130
},
"hsl": {
"h": 326.379,
"s": 47.154,
"l": 48.235
},
"oklch": {
"l": 0.55556,
"c": 0.16472,
"h": 349.1
},
"luminance": 0.15216
}Semantic roles & 50–950 ramp
primary
#B54182
secondary
#8CC5A5
accent
#D78C51
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A0F
muted
#837C7F