#B4288E#B4288E

#B4288E is a mid, highly saturated pink. Relative luminance 0.132; OKLCH L 53.6% C 0.201 H 341.6°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#B4288E
RGBrgb(180, 40, 142)
HSLhsl(316, 64%, 43%)
HSVhsv(316, 78%, 71%)
CMYKcmyk(0%, 77.8%, 21.1%, 29.4%)
CIE-LABlab(43.03, 63.63, -23.63)
CIE-LCHlch(43.03, 67.87, 339.62°)
OKLaboklab(53.56% 0.1911 -0.0636)
OKLCHoklch(53.56% 0.201 341.6)
XYZxyz(24.4645, 13.1764, 26.8409)
Luminance0.1317 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4288E #28B44E
analogous
#9428B4 #B4288E #B42848
triadic
#B4288E #8EB428 #288EB4
tetradic
#B4288E #B49428 #28B44E #2848B4
square
#B4288E #B49428 #28B44E #2848B4
split-complementary
#B4288E #48B428 #28B494
monochromatic
#50123F #821D66 #B4288E #D544AE #E176C4

Accessibility & contrast

On white

5.78
#B4288E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B4288E
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4288E#FFFFFF#000000##FFFFFF
##B4288E1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365791
Deuteranopia (green-blind)
#636E8B
Tritanopia (blue-blind)
#BF2B59
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b4288e;
/* rgb */ color: rgb(180, 40, 142);
/* oklch */ color: oklch(53.6% 0.201 341.6);
Tailwind
colors: {
  custom: {
    50: '#cf72af',
    500: '#b4288e',
    950: '#000000',
  },
}
SCSS
$custom: #b4288e;
$custom-light: #cf72af;
$custom-dark: #000000;
JSON
{
  "hex": "#b4288e",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 316.286,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53562,
    "c": 0.20136,
    "h": 341.6
  },
  "luminance": 0.13174
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4288E

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

Preview Lab → · Contrast checker → · Palette generator →

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