#B5336E#B5336E

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

Color values

HEX#B5336E
RGBrgb(181, 51, 110)
HSLhsl(333, 56%, 45%)
HSVhsv(333, 72%, 71%)
CMYKcmyk(0%, 71.8%, 39.2%, 29%)
CIE-LABlab(43.24, 56.48, -3.63)
CIE-LCHlch(43.24, 56.60, 356.32°)
OKLaboklab(53.35% 0.1732 -0.0088)
OKLCHoklch(53.35% 0.173 357.1)
XYZxyz(23.0559, 13.3200, 16.1057)
Luminance0.1332 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5336E #33B57A
analogous
#B533AF #B5336E #B53933
triadic
#B5336E #6EB533 #336EB5
tetradic
#B5336E #AFB533 #33B57A #3933B5
square
#B5336E #AFB533 #33B57A #3933B5
split-complementary
#B5336E #33B539 #33AFB5
monochromatic
#561834 #852651 #B5336E #CF568D #DD86AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5336E#FFFFFF#000000##FFFFFF
##B5336E1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5770
Deuteranopia (green-blind)
#706F6B
Tritanopia (blue-blind)
#C4244C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b5336e;
/* rgb */ color: rgb(181, 51, 110);
/* oklch */ color: oklch(53.3% 0.173 357.1);
Tailwind
colors: {
  custom: {
    50: '#d07597',
    500: '#b5336e',
    950: '#000000',
  },
}
SCSS
$custom: #b5336e;
$custom-light: #d07597;
$custom-dark: #000000;
JSON
{
  "hex": "#b5336e",
  "rgb": {
    "r": 181,
    "g": 51,
    "b": 110
  },
  "hsl": {
    "h": 332.769,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53348,
    "c": 0.17345,
    "h": 357.1
  },
  "luminance": 0.13317
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B5336E

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

Preview Lab → · Contrast checker → · Palette generator →

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