#B9477C#B9477C

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

Color values

HEX#B9477C
RGBrgb(185, 71, 124)
HSLhsl(332, 45%, 50%)
HSVhsv(332, 62%, 73%)
CMYKcmyk(0%, 61.6%, 33%, 27.5%)
CIE-LABlab(47.34, 51.15, -6.06)
CIE-LCHlch(47.34, 51.51, 353.24°)
OKLaboklab(56.65% 0.1559 -0.0154)
OKLCHoklch(56.65% 0.157 354.4)
XYZxyz(25.9002, 16.2787, 20.8430)
Luminance0.1628 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9477C #47B984
analogous
#B947B5 #B9477C #B94B47
triadic
#B9477C #7CB947 #477CB9
tetradic
#B9477C #B5B947 #47B984 #4B47B9
square
#B9477C #B5B947 #47B984 #4B47B9
split-complementary
#B9477C #47B94B #47B5B9
monochromatic
#612541 #8D365E #B9477C #CA739C #DBA0BB

Accessibility & contrast

On white

4.94
#B9477C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B9477C
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9477C#FFFFFF#000000##FFFFFF
##B9477C1.004.944.264.94
#FFFFFF4.941.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59637E
Deuteranopia (green-blind)
#787879
Tritanopia (blue-blind)
#C73F5C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b9477c;
/* rgb */ color: rgb(185, 71, 124);
/* oklch */ color: oklch(56.7% 0.157 354.4);
Tailwind
colors: {
  custom: {
    50: '#d280a1',
    500: '#b9477c',
    950: '#000000',
  },
}
SCSS
$custom: #b9477c;
$custom-light: #d280a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b9477c",
  "rgb": {
    "r": 185,
    "g": 71,
    "b": 124
  },
  "hsl": {
    "h": 332.105,
    "s": 44.882,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56654,
    "c": 0.15664,
    "h": 354.4
  },
  "luminance": 0.16276
}

Semantic roles & 50–950 ramp

primary
#B9477C
secondary
#94C7B0
accent
#D59853
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0F
muted
#837C7E

Preview Lab

Preview with #B9477C

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

Preview Lab → · Contrast checker → · Palette generator →

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