#B4286C#B4286C

#B4286C is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.2% C 0.184 H 356.4°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#B4286C
RGBrgb(180, 40, 108)
HSLhsl(331, 64%, 43%)
HSVhsv(331, 78%, 71%)
CMYKcmyk(0%, 77.8%, 40%, 29.4%)
CIE-LABlab(41.70, 59.63, -4.69)
CIE-LCHlch(41.70, 59.82, 355.50°)
OKLaboklab(52.16% 0.1833 -0.0116)
OKLCHoklch(52.16% 0.184 356.4)
XYZxyz(22.2895, 12.3064, 15.3861)
Luminance0.1230 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4286C #28B470
analogous
#B428B2 #B4286C #B42A28
triadic
#B4286C #6CB428 #286CB4
tetradic
#B4286C #B2B428 #28B470 #2A28B4
square
#B4286C #B2B428 #28B470 #2A28B4
split-complementary
#B4286C #28B42A #28B2B4
monochromatic
#501230 #821D4E #B4286C #D5448B #E176AA

Accessibility & contrast

On white

6.07
#B4286C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B4286C
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4286C#FFFFFF#000000##FFFFFF
##B4286C1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46526E
Deuteranopia (green-blind)
#6D6C69
Tritanopia (blue-blind)
#C31247
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b4286c;
/* rgb */ color: rgb(180, 40, 108);
/* oklch */ color: oklch(52.2% 0.184 356.4);
Tailwind
colors: {
  custom: {
    50: '#d07096',
    500: '#b4286c',
    950: '#000000',
  },
}
SCSS
$custom: #b4286c;
$custom-light: #d07096;
$custom-dark: #000000;
JSON
{
  "hex": "#b4286c",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 108
  },
  "hsl": {
    "h": 330.857,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52161,
    "c": 0.1837,
    "h": 356.4
  },
  "luminance": 0.12304
}

Semantic roles & 50–950 ramp

primary
#B4286C
secondary
#70C89D
accent
#E79641
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#15080D
muted
#837B7E

Preview Lab

Preview with #B4286C

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

Preview Lab → · Contrast checker → · Palette generator →

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