#B4288B#B4288B

#B4288B is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.4% C 0.200 H 342.8°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#B4288B
RGBrgb(180, 40, 139)
HSLhsl(318, 64%, 43%)
HSVhsv(318, 78%, 71%)
CMYKcmyk(0%, 77.8%, 22.8%, 29.4%)
CIE-LABlab(42.89, 63.23, -22.01)
CIE-LCHlch(42.89, 66.95, 340.81°)
OKLaboklab(53.42% 0.1906 -0.059)
OKLCHoklch(53.42% 0.2 342.8)
XYZxyz(24.2423, 13.0875, 25.6706)
Luminance0.1308 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4288B #28B451
analogous
#9728B4 #B4288B #B42845
triadic
#B4288B #8BB428 #288BB4
tetradic
#B4288B #B49728 #28B451 #2845B4
square
#B4288B #B49728 #28B451 #2845B4
split-complementary
#B4288B #45B428 #28B497
monochromatic
#50123E #821D64 #B4288B #D544AB #E176C1

Accessibility & contrast

On white

5.81
#B4288B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#B4288B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4288B
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4288B#FFFFFF#000000##FFFFFF
##B4288B1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38578E
Deuteranopia (green-blind)
#646D88
Tritanopia (blue-blind)
#C02957
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b4288b;
/* rgb */ color: rgb(180, 40, 139);
/* oklch */ color: oklch(53.4% 0.200 342.8);
Tailwind
colors: {
  custom: {
    50: '#cf71ad',
    500: '#b4288b',
    950: '#000000',
  },
}
SCSS
$custom: #b4288b;
$custom-light: #cf71ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b4288b",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 317.571,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53422,
    "c": 0.19953,
    "h": 342.8
  },
  "luminance": 0.13085
}

Semantic roles & 50–950 ramp

primary
#B4288B
secondary
#70C88A
accent
#E77241
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B4288B

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

Preview Lab → · Contrast checker → · Palette generator →

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