#B9478C#B9478C

#B9478C is a mid, vivid pink. Relative luminance 0.167; OKLCH L 57.3% C 0.165 H 346.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B9478C
RGBrgb(185, 71, 140)
HSLhsl(324, 45%, 50%)
HSVhsv(324, 62%, 73%)
CMYKcmyk(0%, 61.6%, 24.3%, 27.5%)
CIE-LABlab(47.90, 53.23, -14.87)
CIE-LCHlch(47.90, 55.27, 344.39°)
OKLaboklab(57.26% 0.1604 -0.0393)
OKLCHoklch(57.26% 0.165 346.2)
XYZxyz(26.9954, 16.7168, 26.6108)
Luminance0.1671 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9478C #47B974
analogous
#AD47B9 #B9478C #B94753
triadic
#B9478C #8CB947 #478CB9
tetradic
#B9478C #B9AD47 #47B974 #4753B9
square
#B9478C #B9AD47 #47B974 #4753B9
split-complementary
#B9478C #53B947 #47B9AD
monochromatic
#612549 #8D366B #B9478C #CA73A8 #DBA0C3

Accessibility & contrast

On white

4.84
#B9478C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#B9478C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9478C
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9478C#FFFFFF#000000##FFFFFF
##B9478C1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53658E
Deuteranopia (green-blind)
#737989
Tritanopia (blue-blind)
#C54563
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b9478c;
/* rgb */ color: rgb(185, 71, 140);
/* oklch */ color: oklch(57.3% 0.165 346.2);
Tailwind
colors: {
  custom: {
    50: '#d181ad',
    500: '#b9478c',
    950: '#000000',
  },
}
SCSS
$custom: #b9478c;
$custom-light: #d181ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b9478c",
  "rgb": {
    "r": 185,
    "g": 71,
    "b": 140
  },
  "hsl": {
    "h": 323.684,
    "s": 44.882,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57256,
    "c": 0.16518,
    "h": 346.2
  },
  "luminance": 0.16714
}

Semantic roles & 50–950 ramp

primary
#B9478C
secondary
#94C7A9
accent
#D58653
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #B9478C

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

Preview Lab → · Contrast checker → · Palette generator →

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