#B5288E#B5288E

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

Color values

HEX#B5288E
RGBrgb(181, 40, 142)
HSLhsl(317, 64%, 43%)
HSVhsv(317, 78%, 71%)
CMYKcmyk(0%, 77.9%, 21.5%, 29%)
CIE-LABlab(43.21, 63.86, -23.34)
CIE-LCHlch(43.21, 67.99, 339.92°)
OKLaboklab(53.73% 0.192 -0.0627)
OKLCHoklch(53.73% 0.202 341.9)
XYZxyz(24.6982, 13.2969, 26.8518)
Luminance0.1329 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5288E #28B54F
analogous
#9528B5 #B5288E #B52847
triadic
#B5288E #8EB528 #288EB5
tetradic
#B5288E #B59528 #28B54F #2847B5
square
#B5288E #B59528 #28B54F #2847B5
split-complementary
#B5288E #47B528 #28B595
monochromatic
#51123F #831D67 #B5288E #D644AE #E177C3

Accessibility & contrast

On white

5.74
#B5288E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B5288E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5288E
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5288E#FFFFFF#000000##FFFFFF
##B5288E1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5288e;
/* rgb */ color: rgb(181, 40, 142);
/* oklch */ color: oklch(53.7% 0.202 341.9);
Tailwind
colors: {
  custom: {
    50: '#cf72af',
    500: '#b5288e',
    950: '#000000',
  },
}
SCSS
$custom: #b5288e;
$custom-light: #cf72af;
$custom-dark: #000000;
JSON
{
  "hex": "#b5288e",
  "rgb": {
    "r": 181,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 316.596,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53725,
    "c": 0.20196,
    "h": 341.9
  },
  "luminance": 0.13294
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B5288E

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

Preview Lab → · Contrast checker → · Palette generator →

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