#B5288F#B5288F

#B5288F is a mid, highly saturated pink. Relative luminance 0.133; OKLCH L 53.8% C 0.203 H 341.5°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#B5288F
RGBrgb(181, 40, 143)
HSLhsl(316, 64%, 43%)
HSVhsv(316, 78%, 71%)
CMYKcmyk(0%, 77.9%, 21%, 29%)
CIE-LABlab(43.25, 63.99, -23.88)
CIE-LCHlch(43.25, 68.30, 339.54°)
OKLaboklab(53.77% 0.1921 -0.0643)
OKLCHoklch(53.77% 0.203 341.5)
XYZxyz(24.7736, 13.3271, 27.2490)
Luminance0.1333 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5288F #28B54E
analogous
#9428B5 #B5288F #B52848
triadic
#B5288F #8FB528 #288FB5
tetradic
#B5288F #B59428 #28B54E #2848B5
square
#B5288F #B59428 #28B54E #2848B5
split-complementary
#B5288F #48B528 #28B594
monochromatic
#511240 #831D67 #B5288F #D644AF #E177C4

Accessibility & contrast

On white

5.73
#B5288F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B5288F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5288F
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5288F#FFFFFF#000000##FFFFFF
##B5288F1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365892
Deuteranopia (green-blind)
#636E8C
Tritanopia (blue-blind)
#C02B59
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b5288f;
/* rgb */ color: rgb(181, 40, 143);
/* oklch */ color: oklch(53.8% 0.203 341.5);
Tailwind
colors: {
  custom: {
    50: '#cf72b0',
    500: '#b5288f',
    950: '#000000',
  },
}
SCSS
$custom: #b5288f;
$custom-light: #cf72b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b5288f",
  "rgb": {
    "r": 181,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 316.17,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53771,
    "c": 0.20258,
    "h": 341.5
  },
  "luminance": 0.13325
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B5288F

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

Preview Lab → · Contrast checker → · Palette generator →

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