#B4288F#B4288F

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

Color values

HEX#B4288F
RGBrgb(180, 40, 143)
HSLhsl(316, 64%, 43%)
HSVhsv(316, 78%, 71%)
CMYKcmyk(0%, 77.8%, 20.6%, 29.4%)
CIE-LABlab(43.07, 63.76, -24.17)
CIE-LCHlch(43.07, 68.18, 339.24°)
OKLaboklab(53.61% 0.1912 -0.0651)
OKLCHoklch(53.61% 0.202 341.2)
XYZxyz(24.5399, 13.2066, 27.2380)
Luminance0.1320 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4288F #28B44D
analogous
#9328B4 #B4288F #B42849
triadic
#B4288F #8FB428 #288FB4
tetradic
#B4288F #B49328 #28B44D #2849B4
square
#B4288F #B49328 #28B44D #2849B4
split-complementary
#B4288F #49B428 #28B493
monochromatic
#50123F #821D67 #B4288F #D544AF #E176C4

Accessibility & contrast

On white

5.77
#B4288F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#B4288F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4288F
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4288F#FFFFFF#000000##FFFFFF
##B4288F1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355792
Deuteranopia (green-blind)
#626E8C
Tritanopia (blue-blind)
#BF2B59
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b4288f;
/* rgb */ color: rgb(180, 40, 143);
/* oklch */ color: oklch(53.6% 0.202 341.2);
Tailwind
colors: {
  custom: {
    50: '#cf72b0',
    500: '#b4288f',
    950: '#000000',
  },
}
SCSS
$custom: #b4288f;
$custom-light: #cf72b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b4288f",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 315.857,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53609,
    "c": 0.20198,
    "h": 341.2
  },
  "luminance": 0.13204
}

Semantic roles & 50–950 ramp

primary
#B4288F
secondary
#70C887
accent
#E76D41
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B4288F

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

Preview Lab → · Contrast checker → · Palette generator →

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