#B4288C#B4288C

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

Color values

HEX#B4288C
RGBrgb(180, 40, 140)
HSLhsl(317, 64%, 43%)
HSVhsv(317, 78%, 71%)
CMYKcmyk(0%, 77.8%, 22.2%, 29.4%)
CIE-LABlab(42.94, 63.36, -22.55)
CIE-LCHlch(42.94, 67.26, 340.41°)
OKLaboklab(53.47% 0.1908 -0.0605)
OKLCHoklch(53.47% 0.2 342.4)
XYZxyz(24.3157, 13.1169, 26.0571)
Luminance0.1311 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4288C #28B450
analogous
#9628B4 #B4288C #B42846
triadic
#B4288C #8CB428 #288CB4
tetradic
#B4288C #B49628 #28B450 #2846B4
square
#B4288C #B49628 #28B450 #2846B4
split-complementary
#B4288C #46B428 #28B496
monochromatic
#50123E #821D65 #B4288C #D544AC #E176C2

Accessibility & contrast

On white

5.80
#B4288C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B4288C
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4288C#FFFFFF#000000##FFFFFF
##B4288C1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37578F
Deuteranopia (green-blind)
#646E89
Tritanopia (blue-blind)
#C02A58
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b4288c;
/* rgb */ color: rgb(180, 40, 140);
/* oklch */ color: oklch(53.5% 0.200 342.4);
Tailwind
colors: {
  custom: {
    50: '#cf72ae',
    500: '#b4288c',
    950: '#000000',
  },
}
SCSS
$custom: #b4288c;
$custom-light: #cf72ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b4288c",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 140
  },
  "hsl": {
    "h": 317.143,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53468,
    "c": 0.20014,
    "h": 342.4
  },
  "luminance": 0.13114
}

Semantic roles & 50–950 ramp

primary
#B4288C
secondary
#70C889
accent
#E77041
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B4288C

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

Preview Lab → · Contrast checker → · Palette generator →

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