#B4286A#B4286A

#B4286A is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.1% C 0.183 H 357.3°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#B4286A
RGBrgb(180, 40, 106)
HSLhsl(332, 64%, 43%)
HSVhsv(332, 78%, 71%)
CMYKcmyk(0%, 77.8%, 41.1%, 29.4%)
CIE-LABlab(41.63, 59.43, -3.54)
CIE-LCHlch(41.63, 59.54, 356.59°)
OKLaboklab(52.09% 0.1827 -0.0085)
OKLCHoklch(52.09% 0.183 357.3)
XYZxyz(22.1843, 12.2644, 14.8319)
Luminance0.1226 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4286A #28B472
analogous
#B428B0 #B4286A #B42C28
triadic
#B4286A #6AB428 #286AB4
tetradic
#B4286A #B0B428 #28B472 #2C28B4
square
#B4286A #B0B428 #28B472 #2C28B4
split-complementary
#B4286A #28B42C #28B0B4
monochromatic
#50122F #821D4D #B4286A #D54488 #E176A8

Accessibility & contrast

On white

6.08
#B4286A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#B4286A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4286A
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4286A#FFFFFF#000000##FFFFFF
##B4286A1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47516C
Deuteranopia (green-blind)
#6D6C67
Tritanopia (blue-blind)
#C31046
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b4286a;
/* rgb */ color: rgb(180, 40, 106);
/* oklch */ color: oklch(52.1% 0.183 357.3);
Tailwind
colors: {
  custom: {
    50: '#d07094',
    500: '#b4286a',
    950: '#000000',
  },
}
SCSS
$custom: #b4286a;
$custom-light: #d07094;
$custom-dark: #000000;
JSON
{
  "hex": "#b4286a",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 106
  },
  "hsl": {
    "h": 331.714,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52092,
    "c": 0.18292,
    "h": 357.3
  },
  "luminance": 0.12261
}

Semantic roles & 50–950 ramp

primary
#B4286A
secondary
#70C89E
accent
#E79941
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#15080D
muted
#837B7E

Preview Lab

Preview with #B4286A

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

Preview Lab → · Contrast checker → · Palette generator →

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