#B0406C#B0406C

#B0406C is a mid, vivid pink. Relative luminance 0.140; OKLCH L 53.9% C 0.151 H 359.2°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#B0406C
RGBrgb(176, 64, 108)
HSLhsl(336, 47%, 47%)
HSVhsv(336, 64%, 69%)
CMYKcmyk(0%, 63.6%, 38.6%, 31%)
CIE-LABlab(44.21, 49.54, -1.07)
CIE-LCHlch(44.21, 49.55, 358.76°)
OKLaboklab(53.88% 0.1514 -0.0022)
OKLCHoklch(53.88% 0.151 359.2)
XYZxyz(22.4461, 13.9822, 15.7012)
Luminance0.1398 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0406C #40B084
analogous
#B040A4 #B0406C #B04C40
triadic
#B0406C #6CB040 #406CB0
tetradic
#B0406C #A4B040 #40B084 #4C40B0
square
#B0406C #A4B040 #40B084 #4C40B0
split-complementary
#B0406C #40B04C #40A4B0
monochromatic
#561F35 #833050 #B0406C #C7668C #D893AE

Accessibility & contrast

On white

5.53
#B0406C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#B0406C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0406C
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0406C#FFFFFF#000000##FFFFFF
##B0406C1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545B6D
Deuteranopia (green-blind)
#727069
Tritanopia (blue-blind)
#BE3551
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b0406c;
/* rgb */ color: rgb(176, 64, 108);
/* oklch */ color: oklch(53.9% 0.151 359.2);
Tailwind
colors: {
  custom: {
    50: '#cc7b96',
    500: '#b0406c',
    950: '#000000',
  },
}
SCSS
$custom: #b0406c;
$custom-light: #cc7b96;
$custom-dark: #000000;
JSON
{
  "hex": "#b0406c",
  "rgb": {
    "r": 176,
    "g": 64,
    "b": 108
  },
  "hsl": {
    "h": 336.429,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53878,
    "c": 0.15142,
    "h": 359.2
  },
  "luminance": 0.1398
}

Semantic roles & 50–950 ramp

primary
#B0406C
secondary
#89C3AC
accent
#D6A251
background
#FDF7F9
surface
#FAEEF1
border
#D3C9CB
text
#140A0D
muted
#837C7E

Preview Lab

Preview with #B0406C

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

Preview Lab → · Contrast checker → · Palette generator →

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