#B5286B#B5286B

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

Color values

HEX#B5286B
RGBrgb(181, 40, 107)
HSLhsl(331, 64%, 43%)
HSVhsv(331, 78%, 71%)
CMYKcmyk(0%, 77.9%, 40.9%, 29%)
CIE-LABlab(41.85, 59.80, -3.82)
CIE-LCHlch(41.85, 59.92, 356.35°)
OKLaboklab(52.3% 0.1839 -0.0093)
OKLCHoklch(52.3% 0.184 357.1)
XYZxyz(22.4703, 12.4058, 15.1184)
Luminance0.1240 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5286B #28B572
analogous
#B528B1 #B5286B #B52B28
triadic
#B5286B #6BB528 #286BB5
tetradic
#B5286B #B1B528 #28B572 #2B28B5
square
#B5286B #B1B528 #28B572 #2B28B5
split-complementary
#B5286B #28B52B #28B1B5
monochromatic
#511230 #831D4D #B5286B #D64489 #E177A9

Accessibility & contrast

On white

6.03
#B5286B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B5286B
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5286B#FFFFFF#000000##FFFFFF
##B5286B1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47526D
Deuteranopia (green-blind)
#6E6C68
Tritanopia (blue-blind)
#C41046
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b5286b;
/* rgb */ color: rgb(181, 40, 107);
/* oklch */ color: oklch(52.3% 0.184 357.1);
Tailwind
colors: {
  custom: {
    50: '#d07195',
    500: '#b5286b',
    950: '#000000',
  },
}
SCSS
$custom: #b5286b;
$custom-light: #d07195;
$custom-dark: #000000;
JSON
{
  "hex": "#b5286b",
  "rgb": {
    "r": 181,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 331.489,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52298,
    "c": 0.18409,
    "h": 357.1
  },
  "luminance": 0.12403
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B5286B

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

Preview Lab → · Contrast checker → · Palette generator →

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