#B9408C#B9408C

#B9408C is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.5% C 0.175 H 345.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B9408C
RGBrgb(185, 64, 140)
HSLhsl(322, 49%, 49%)
HSVhsv(322, 65%, 73%)
CMYKcmyk(0%, 65.4%, 24.3%, 27.5%)
CIE-LABlab(46.81, 56.21, -16.53)
CIE-LCHlch(46.81, 58.59, 343.62°)
OKLaboklab(56.45% 0.1696 -0.0438)
OKLCHoklch(56.45% 0.175 345.5)
XYZxyz(26.5756, 15.8772, 26.4709)
Luminance0.1588 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9408C #40B96D
analogous
#AA40B9 #B9408C #B94050
triadic
#B9408C #8CB940 #408CB9
tetradic
#B9408C #B9AA40 #40B96D #4050B9
square
#B9408C #B9AA40 #40B96D #4050B9
split-complementary
#B9408C #50B940 #40B9AA
monochromatic
#5E2147 #8C306A #B9408C #CC6BA8 #DB98C2

Accessibility & contrast

On white

5.03
#B9408C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#B9408C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9408C
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9408C#FFFFFF#000000##FFFFFF
##B9408C1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D628E
Deuteranopia (green-blind)
#707689
Tritanopia (blue-blind)
#C53E60
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b9408c;
/* rgb */ color: rgb(185, 64, 140);
/* oklch */ color: oklch(56.5% 0.175 345.5);
Tailwind
colors: {
  custom: {
    50: '#d27dad',
    500: '#b9408c',
    950: '#000000',
  },
}
SCSS
$custom: #b9408c;
$custom-light: #d27dad;
$custom-dark: #000000;
JSON
{
  "hex": "#b9408c",
  "rgb": {
    "r": 185,
    "g": 64,
    "b": 140
  },
  "hsl": {
    "h": 322.314,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56454,
    "c": 0.17513,
    "h": 345.5
  },
  "luminance": 0.15875
}

Semantic roles & 50–950 ramp

primary
#B9408C
secondary
#8EC7A3
accent
#D88250
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B9408C

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

Preview Lab → · Contrast checker → · Palette generator →

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