#B5286A#B5286A

#B5286A is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.3% C 0.184 H 357.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#B5286A
RGBrgb(181, 40, 106)
HSLhsl(332, 64%, 43%)
HSVhsv(332, 78%, 71%)
CMYKcmyk(0%, 77.9%, 41.4%, 29%)
CIE-LABlab(41.82, 59.70, -3.24)
CIE-LCHlch(41.82, 59.78, 356.89°)
OKLaboklab(52.26% 0.1835 -0.0078)
OKLCHoklch(52.26% 0.184 357.6)
XYZxyz(22.4180, 12.3849, 14.8429)
Luminance0.1238 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5286A #28B573
analogous
#B528B0 #B5286A #B52C28
triadic
#B5286A #6AB528 #286AB5
tetradic
#B5286A #B0B528 #28B573 #2C28B5
square
#B5286A #B0B528 #28B573 #2C28B5
split-complementary
#B5286A #28B52C #28B0B5
monochromatic
#51122F #831D4D #B5286A #D64488 #E177A8

Accessibility & contrast

On white

6.04
#B5286A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#B5286A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5286A
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5286A#FFFFFF#000000##FFFFFF
##B5286A1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47526C
Deuteranopia (green-blind)
#6E6C67
Tritanopia (blue-blind)
#C40F46
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b5286a;
/* rgb */ color: rgb(181, 40, 106);
/* oklch */ color: oklch(52.3% 0.184 357.6);
Tailwind
colors: {
  custom: {
    50: '#d17194',
    500: '#b5286a',
    950: '#000000',
  },
}
SCSS
$custom: #b5286a;
$custom-light: #d17194;
$custom-dark: #000000;
JSON
{
  "hex": "#b5286a",
  "rgb": {
    "r": 181,
    "g": 40,
    "b": 106
  },
  "hsl": {
    "h": 331.915,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52264,
    "c": 0.1837,
    "h": 357.6
  },
  "luminance": 0.12382
}

Semantic roles & 50–950 ramp

primary
#B5286A
secondary
#70C89F
accent
#E79941
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B5286A

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

Preview Lab → · Contrast checker → · Palette generator →

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