#B5336C#B5336C

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

Color values

HEX#B5336C
RGBrgb(181, 51, 108)
HSLhsl(334, 56%, 45%)
HSVhsv(334, 72%, 71%)
CMYKcmyk(0%, 71.8%, 40.3%, 29%)
CIE-LABlab(43.18, 56.27, -2.49)
CIE-LCHlch(43.18, 56.32, 357.47°)
OKLaboklab(53.28% 0.1726 -0.0058)
OKLCHoklch(53.28% 0.173 358.1)
XYZxyz(22.9482, 13.2770, 15.5387)
Luminance0.1327 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5336C #33B57C
analogous
#B533AD #B5336C #B53B33
triadic
#B5336C #6CB533 #336CB5
tetradic
#B5336C #ADB533 #33B57C #3B33B5
square
#B5336C #ADB533 #33B57C #3B33B5
split-complementary
#B5336C #33B53B #33ADB5
monochromatic
#561833 #852650 #B5336C #CF568B #DD86AC

Accessibility & contrast

On white

5.75
#B5336C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B5336C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5336C
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5336C#FFFFFF#000000##FFFFFF
##B5336C1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D566D
Deuteranopia (green-blind)
#716F69
Tritanopia (blue-blind)
#C4234B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b5336c;
/* rgb */ color: rgb(181, 51, 108);
/* oklch */ color: oklch(53.3% 0.173 358.1);
Tailwind
colors: {
  custom: {
    50: '#d07596',
    500: '#b5336c',
    950: '#000000',
  },
}
SCSS
$custom: #b5336c;
$custom-light: #d07596;
$custom-dark: #000000;
JSON
{
  "hex": "#b5336c",
  "rgb": {
    "r": 181,
    "g": 51,
    "b": 108
  },
  "hsl": {
    "h": 333.692,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.5328,
    "c": 0.17269,
    "h": 358.1
  },
  "luminance": 0.13274
}

Semantic roles & 50–950 ramp

primary
#B5336C
secondary
#7DC6A6
accent
#DF9D48
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B5336C

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

Preview Lab → · Contrast checker → · Palette generator →

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