#B5288D#B5288D

#B5288D is a mid, highly saturated pink. Relative luminance 0.133; OKLCH L 53.7% C 0.201 H 342.3°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B5288D
RGBrgb(181, 40, 141)
HSLhsl(317, 64%, 43%)
HSVhsv(317, 78%, 71%)
CMYKcmyk(0%, 77.9%, 22.1%, 29%)
CIE-LABlab(43.16, 63.73, -22.80)
CIE-LCHlch(43.16, 67.69, 340.32°)
OKLaboklab(53.68% 0.1918 -0.0612)
OKLCHoklch(53.68% 0.201 342.3)
XYZxyz(24.6235, 13.2670, 26.4582)
Luminance0.1326 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5288D #28B550
analogous
#9628B5 #B5288D #B52847
triadic
#B5288D #8DB528 #288DB5
tetradic
#B5288D #B59628 #28B550 #2847B5
square
#B5288D #B59628 #28B550 #2847B5
split-complementary
#B5288D #47B528 #28B596
monochromatic
#51123F #831D66 #B5288D #D644AD #E177C3

Accessibility & contrast

On white

5.75
#B5288D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B5288D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5288D
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5288D#FFFFFF#000000##FFFFFF
##B5288D1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375790
Deuteranopia (green-blind)
#646E8A
Tritanopia (blue-blind)
#C12A58
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b5288d;
/* rgb */ color: rgb(181, 40, 141);
/* oklch */ color: oklch(53.7% 0.201 342.3);
Tailwind
colors: {
  custom: {
    50: '#cf72ae',
    500: '#b5288d',
    950: '#000000',
  },
}
SCSS
$custom: #b5288d;
$custom-light: #cf72ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b5288d",
  "rgb": {
    "r": 181,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 317.021,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53678,
    "c": 0.20135,
    "h": 342.3
  },
  "luminance": 0.13264
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B5288D

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

Preview Lab → · Contrast checker → · Palette generator →

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