#B5477E#B5477E

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

Color values

HEX#B5477E
RGBrgb(181, 71, 126)
HSLhsl(330, 44%, 49%)
HSVhsv(330, 61%, 71%)
CMYKcmyk(0%, 60.8%, 30.4%, 29%)
CIE-LABlab(46.76, 50.16, -8.20)
CIE-LCHlch(46.76, 50.82, 350.71°)
OKLaboklab(56.12% 0.1525 -0.0211)
OKLCHoklch(56.12% 0.154 352.1)
XYZxyz(25.0763, 15.8391, 21.4713)
Luminance0.1584 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5477E #47B57E
analogous
#B547B5 #B5477E #B54747
triadic
#B5477E #7EB547 #477EB5
tetradic
#B5477E #B5B547 #47B57E #4747B5
square
#B5477E #B5B547 #47B57E #4747B5
split-complementary
#B5477E #47B547 #47B5B5
monochromatic
#5D2541 #89365F #B5477E #C8729D #D99EBB

Accessibility & contrast

On white

5.04
#B5477E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#B5477E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5477E
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5477E#FFFFFF#000000##FFFFFF
##B5477E1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566280
Deuteranopia (green-blind)
#75767B
Tritanopia (blue-blind)
#C2415D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b5477e;
/* rgb */ color: rgb(181, 71, 126);
/* oklch */ color: oklch(56.1% 0.154 352.1);
Tailwind
colors: {
  custom: {
    50: '#cf80a3',
    500: '#b5477e',
    950: '#000000',
  },
}
SCSS
$custom: #b5477e;
$custom-light: #cf80a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b5477e",
  "rgb": {
    "r": 181,
    "g": 71,
    "b": 126
  },
  "hsl": {
    "h": 330,
    "s": 43.651,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56124,
    "c": 0.15392,
    "h": 352.1
  },
  "luminance": 0.15837
}

Semantic roles & 50–950 ramp

primary
#B5477E
secondary
#93C5AC
accent
#D39454
background
#FDF8FA
surface
#FAEFF3
border
#D3CACD
text
#140B0F
muted
#837C7F

Preview Lab

Preview with #B5477E

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

Preview Lab → · Contrast checker → · Palette generator →

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