#B5336F#B5336F

#B5336F is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.4% C 0.174 H 356.6°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#B5336F
RGBrgb(181, 51, 111)
HSLhsl(332, 56%, 45%)
HSVhsv(332, 72%, 71%)
CMYKcmyk(0%, 71.8%, 38.7%, 29%)
CIE-LABlab(43.27, 56.59, -4.20)
CIE-LCHlch(43.27, 56.74, 355.75°)
OKLaboklab(53.38% 0.1736 -0.0103)
OKLCHoklch(53.38% 0.174 356.6)
XYZxyz(23.1107, 13.3419, 16.3941)
Luminance0.1334 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5336F #33B579
analogous
#B533B0 #B5336F #B53833
triadic
#B5336F #6FB533 #336FB5
tetradic
#B5336F #B0B533 #33B579 #3833B5
square
#B5336F #B0B533 #33B579 #3833B5
split-complementary
#B5336F #33B538 #33B0B5
monochromatic
#561834 #852652 #B5336F #CF568E #DD86AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5336F#FFFFFF#000000##FFFFFF
##B5336F1.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)
#4C5771
Deuteranopia (green-blind)
#706F6C
Tritanopia (blue-blind)
#C4244D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b5336f;
/* rgb */ color: rgb(181, 51, 111);
/* oklch */ color: oklch(53.4% 0.174 356.6);
Tailwind
colors: {
  custom: {
    50: '#d07598',
    500: '#b5336f',
    950: '#000000',
  },
}
SCSS
$custom: #b5336f;
$custom-light: #d07598;
$custom-dark: #000000;
JSON
{
  "hex": "#b5336f",
  "rgb": {
    "r": 181,
    "g": 51,
    "b": 111
  },
  "hsl": {
    "h": 332.308,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53383,
    "c": 0.17386,
    "h": 356.6
  },
  "luminance": 0.13339
}

Semantic roles & 50–950 ramp

primary
#B5336F
secondary
#7DC6A5
accent
#DF9A48
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B5336F

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

Preview Lab → · Contrast checker → · Palette generator →

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