#B4286B#B4286B

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

Color values

HEX#B4286B
RGBrgb(180, 40, 107)
HSLhsl(331, 64%, 43%)
HSVhsv(331, 78%, 71%)
CMYKcmyk(0%, 77.8%, 40.6%, 29.4%)
CIE-LABlab(41.67, 59.53, -4.12)
CIE-LCHlch(41.67, 59.67, 356.05°)
OKLaboklab(52.13% 0.183 -0.0101)
OKLCHoklch(52.13% 0.183 356.9)
XYZxyz(22.2366, 12.2853, 15.1074)
Luminance0.1228 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4286B #28B471
analogous
#B428B1 #B4286B #B42B28
triadic
#B4286B #6BB428 #286BB4
tetradic
#B4286B #B1B428 #28B471 #2B28B4
square
#B4286B #B1B428 #28B471 #2B28B4
split-complementary
#B4286B #28B42B #28B1B4
monochromatic
#50122F #821D4D #B4286B #D54489 #E176A9

Accessibility & contrast

On white

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

On black

3.46
#B4286B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B4286B#FFFFFF#000000##FFFFFF
##B4286B1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46526D
Deuteranopia (green-blind)
#6D6C68
Tritanopia (blue-blind)
#C31146
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b4286b;
/* rgb */ color: rgb(180, 40, 107);
/* oklch */ color: oklch(52.1% 0.183 356.9);
Tailwind
colors: {
  custom: {
    50: '#d07095',
    500: '#b4286b',
    950: '#000000',
  },
}
SCSS
$custom: #b4286b;
$custom-light: #d07095;
$custom-dark: #000000;
JSON
{
  "hex": "#b4286b",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 331.286,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52126,
    "c": 0.18331,
    "h": 356.9
  },
  "luminance": 0.12282
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4286B

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

Preview Lab → · Contrast checker → · Palette generator →

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