#B9477E#B9477E

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

Color values

HEX#B9477E
RGBrgb(185, 71, 126)
HSLhsl(331, 45%, 50%)
HSVhsv(331, 62%, 73%)
CMYKcmyk(0%, 61.6%, 31.9%, 27.5%)
CIE-LABlab(47.40, 51.40, -7.17)
CIE-LCHlch(47.40, 51.90, 352.05°)
OKLaboklab(56.73% 0.1565 -0.0183)
OKLCHoklch(56.73% 0.158 353.3)
XYZxyz(26.0280, 16.3298, 21.5159)
Luminance0.1633 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9477E #47B982
analogous
#B947B7 #B9477E #B94947
triadic
#B9477E #7EB947 #477EB9
tetradic
#B9477E #B7B947 #47B982 #4947B9
square
#B9477E #B7B947 #47B982 #4947B9
split-complementary
#B9477E #47B949 #47B7B9
monochromatic
#612542 #8D3660 #B9477E #CA739D #DBA0BC

Accessibility & contrast

On white

4.92
#B9477E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#B9477E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9477E
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9477E#FFFFFF#000000##FFFFFF
##B9477E1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586380
Deuteranopia (green-blind)
#77787B
Tritanopia (blue-blind)
#C6405D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b9477e;
/* rgb */ color: rgb(185, 71, 126);
/* oklch */ color: oklch(56.7% 0.158 353.3);
Tailwind
colors: {
  custom: {
    50: '#d280a3',
    500: '#b9477e',
    950: '#000000',
  },
}
SCSS
$custom: #b9477e;
$custom-light: #d280a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b9477e",
  "rgb": {
    "r": 185,
    "g": 71,
    "b": 126
  },
  "hsl": {
    "h": 331.053,
    "s": 44.882,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56725,
    "c": 0.15758,
    "h": 353.3
  },
  "luminance": 0.16327
}

Semantic roles & 50–950 ramp

primary
#B9477E
secondary
#94C7AF
accent
#D59653
background
#FDF8FA
surface
#FAEFF3
border
#D3CACD
text
#150B0F
muted
#837C7F

Preview Lab

Preview with #B9477E

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

Preview Lab → · Contrast checker → · Palette generator →

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