#B9477D#B9477D

#B9477D is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.7% C 0.157 H 353.8°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#B9477D
RGBrgb(185, 71, 125)
HSLhsl(332, 45%, 50%)
HSVhsv(332, 62%, 73%)
CMYKcmyk(0%, 61.6%, 32.4%, 27.5%)
CIE-LABlab(47.37, 51.27, -6.62)
CIE-LCHlch(47.37, 51.70, 352.65°)
OKLaboklab(56.69% 0.1562 -0.0168)
OKLCHoklch(56.69% 0.157 353.8)
XYZxyz(25.9638, 16.3042, 21.1777)
Luminance0.1630 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9477D #47B983
analogous
#B947B6 #B9477D #B94A47
triadic
#B9477D #7DB947 #477DB9
tetradic
#B9477D #B6B947 #47B983 #4A47B9
square
#B9477D #B6B947 #47B983 #4A47B9
split-complementary
#B9477D #47B94A #47B6B9
monochromatic
#612541 #8D365F #B9477D #CA739C #DBA0BC

Accessibility & contrast

On white

4.93
#B9477D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#B9477D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9477D
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9477D#FFFFFF#000000##FFFFFF
##B9477D1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58637F
Deuteranopia (green-blind)
#77787A
Tritanopia (blue-blind)
#C6405C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b9477d;
/* rgb */ color: rgb(185, 71, 125);
/* oklch */ color: oklch(56.7% 0.157 353.8);
Tailwind
colors: {
  custom: {
    50: '#d280a2',
    500: '#b9477d',
    950: '#000000',
  },
}
SCSS
$custom: #b9477d;
$custom-light: #d280a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b9477d",
  "rgb": {
    "r": 185,
    "g": 71,
    "b": 125
  },
  "hsl": {
    "h": 331.579,
    "s": 44.882,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56689,
    "c": 0.15711,
    "h": 353.8
  },
  "luminance": 0.16301
}

Semantic roles & 50–950 ramp

primary
#B9477D
secondary
#94C7AF
accent
#D59753
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0F
muted
#837C7E

Preview Lab

Preview with #B9477D

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

Preview Lab → · Contrast checker → · Palette generator →

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