#B5477B#B5477B

#B5477B is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.0% C 0.152 H 353.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#B5477B
RGBrgb(181, 71, 123)
HSLhsl(332, 44%, 49%)
HSVhsv(332, 61%, 71%)
CMYKcmyk(0%, 60.8%, 32%, 29%)
CIE-LABlab(46.66, 49.78, -6.53)
CIE-LCHlch(46.66, 50.20, 352.53°)
OKLaboklab(56.02% 0.1515 -0.0166)
OKLCHoklch(56.02% 0.152 353.7)
XYZxyz(24.8857, 15.7629, 20.4670)
Luminance0.1576 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5477B #47B581
analogous
#B547B2 #B5477B #B54A47
triadic
#B5477B #7BB547 #477BB5
tetradic
#B5477B #B2B547 #47B581 #4A47B5
square
#B5477B #B2B547 #47B581 #4A47B5
split-complementary
#B5477B #47B54A #47B2B5
monochromatic
#5D253F #89365D #B5477B #C8729A #D99EBA

Accessibility & contrast

On white

5.06
#B5477B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#B5477B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5477B
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5477B#FFFFFF#000000##FFFFFF
##B5477B1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57627D
Deuteranopia (green-blind)
#757678
Tritanopia (blue-blind)
#C2405C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b5477b;
/* rgb */ color: rgb(181, 71, 123);
/* oklch */ color: oklch(56.0% 0.152 353.7);
Tailwind
colors: {
  custom: {
    50: '#cf80a1',
    500: '#b5477b',
    950: '#000000',
  },
}
SCSS
$custom: #b5477b;
$custom-light: #cf80a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b5477b",
  "rgb": {
    "r": 181,
    "g": 71,
    "b": 123
  },
  "hsl": {
    "h": 331.636,
    "s": 43.651,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56016,
    "c": 0.15245,
    "h": 353.7
  },
  "luminance": 0.1576
}

Semantic roles & 50–950 ramp

primary
#B5477B
secondary
#93C5AD
accent
#D39754
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#140B0E
muted
#837C7E

Preview Lab

Preview with #B5477B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B5477B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva