#B5477C#B5477C

#B5477C is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.1% C 0.153 H 353.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B5477C
RGBrgb(181, 71, 124)
HSLhsl(331, 44%, 49%)
HSVhsv(331, 61%, 71%)
CMYKcmyk(0%, 60.8%, 31.5%, 29%)
CIE-LABlab(46.70, 49.90, -7.09)
CIE-LCHlch(46.70, 50.40, 351.92°)
OKLaboklab(56.05% 0.1519 -0.0181)
OKLCHoklch(56.05% 0.153 353.2)
XYZxyz(24.9486, 15.7880, 20.7984)
Luminance0.1578 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5477C #47B580
analogous
#B547B3 #B5477C #B54947
triadic
#B5477C #7CB547 #477CB5
tetradic
#B5477C #B3B547 #47B580 #4947B5
square
#B5477C #B3B547 #47B580 #4947B5
split-complementary
#B5477C #47B549 #47B3B5
monochromatic
#5D2540 #89365E #B5477C #C8729B #D99EBA

Accessibility & contrast

On white

5.05
#B5477C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#B5477C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5477C
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5477C#FFFFFF#000000##FFFFFF
##B5477C1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57627E
Deuteranopia (green-blind)
#757679
Tritanopia (blue-blind)
#C2415C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b5477c;
/* rgb */ color: rgb(181, 71, 124);
/* oklch */ color: oklch(56.1% 0.153 353.2);
Tailwind
colors: {
  custom: {
    50: '#cf80a1',
    500: '#b5477c',
    950: '#000000',
  },
}
SCSS
$custom: #b5477c;
$custom-light: #cf80a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b5477c",
  "rgb": {
    "r": 181,
    "g": 71,
    "b": 124
  },
  "hsl": {
    "h": 331.091,
    "s": 43.651,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56052,
    "c": 0.15293,
    "h": 353.2
  },
  "luminance": 0.15785
}

Semantic roles & 50–950 ramp

primary
#B5477C
secondary
#93C5AD
accent
#D39654
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#140B0F
muted
#837C7E

Preview Lab

Preview with #B5477C

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

Preview Lab → · Contrast checker → · Palette generator →

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