#B4288D#B4288D

#B4288D is a mid, highly saturated pink. Relative luminance 0.131; OKLCH L 53.5% C 0.201 H 342.0°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#B4288D
RGBrgb(180, 40, 141)
HSLhsl(317, 64%, 43%)
HSVhsv(317, 78%, 71%)
CMYKcmyk(0%, 77.8%, 21.7%, 29.4%)
CIE-LABlab(42.98, 63.49, -23.09)
CIE-LCHlch(42.98, 67.56, 340.01°)
OKLaboklab(53.52% 0.1909 -0.0621)
OKLCHoklch(53.52% 0.201 342)
XYZxyz(24.3898, 13.1465, 26.4472)
Luminance0.1314 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4288D #28B44F
analogous
#9528B4 #B4288D #B42847
triadic
#B4288D #8DB428 #288DB4
tetradic
#B4288D #B49528 #28B44F #2847B4
square
#B4288D #B49528 #28B44F #2847B4
split-complementary
#B4288D #47B428 #28B495
monochromatic
#50123F #821D66 #B4288D #D544AD #E176C3

Accessibility & contrast

On white

5.79
#B4288D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#B4288D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4288D
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4288D#FFFFFF#000000##FFFFFF
##B4288D1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365790
Deuteranopia (green-blind)
#636E8A
Tritanopia (blue-blind)
#BF2A58
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b4288d;
/* rgb */ color: rgb(180, 40, 141);
/* oklch */ color: oklch(53.5% 0.201 342.0);
Tailwind
colors: {
  custom: {
    50: '#cf72ae',
    500: '#b4288d',
    950: '#000000',
  },
}
SCSS
$custom: #b4288d;
$custom-light: #cf72ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b4288d",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 316.714,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53515,
    "c": 0.20074,
    "h": 342
  },
  "luminance": 0.13144
}

Semantic roles & 50–950 ramp

primary
#B4288D
secondary
#70C888
accent
#E76F41
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B4288D

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

Preview Lab → · Contrast checker → · Palette generator →

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