#B5336D#B5336D

#B5336D is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.3% C 0.173 H 357.6°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#B5336D
RGBrgb(181, 51, 109)
HSLhsl(333, 56%, 45%)
HSVhsv(333, 72%, 71%)
CMYKcmyk(0%, 71.8%, 39.8%, 29%)
CIE-LABlab(43.21, 56.37, -3.06)
CIE-LCHlch(43.21, 56.46, 356.89°)
OKLaboklab(53.31% 0.1729 -0.0073)
OKLCHoklch(53.31% 0.173 357.6)
XYZxyz(23.0018, 13.2984, 15.8206)
Luminance0.1330 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5336D #33B57B
analogous
#B533AE #B5336D #B53A33
triadic
#B5336D #6DB533 #336DB5
tetradic
#B5336D #AEB533 #33B57B #3A33B5
square
#B5336D #AEB533 #33B57B #3A33B5
split-complementary
#B5336D #33B53A #33AEB5
monochromatic
#561833 #852650 #B5336D #CF568C #DD86AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5336D#FFFFFF#000000##FFFFFF
##B5336D1.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)
#4D566F
Deuteranopia (green-blind)
#706F6A
Tritanopia (blue-blind)
#C4234C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b5336d;
/* rgb */ color: rgb(181, 51, 109);
/* oklch */ color: oklch(53.3% 0.173 357.6);
Tailwind
colors: {
  custom: {
    50: '#d07596',
    500: '#b5336d',
    950: '#000000',
  },
}
SCSS
$custom: #b5336d;
$custom-light: #d07596;
$custom-dark: #000000;
JSON
{
  "hex": "#b5336d",
  "rgb": {
    "r": 181,
    "g": 51,
    "b": 109
  },
  "hsl": {
    "h": 333.231,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53314,
    "c": 0.17307,
    "h": 357.6
  },
  "luminance": 0.13296
}

Semantic roles & 50–950 ramp

primary
#B5336D
secondary
#7DC6A6
accent
#DF9C48
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B5336D

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

Preview Lab → · Contrast checker → · Palette generator →

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