#B5337E#B5337E

#B5337E is a mid, vivid pink. Relative luminance 0.137; OKLCH L 53.9% C 0.181 H 349.5°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#B5337E
RGBrgb(181, 51, 126)
HSLhsl(325, 56%, 45%)
HSVhsv(325, 72%, 71%)
CMYKcmyk(0%, 71.8%, 30.4%, 29%)
CIE-LABlab(43.80, 58.30, -12.66)
CIE-LCHlch(43.80, 59.66, 347.75°)
OKLaboklab(53.94% 0.1778 -0.0331)
OKLCHoklch(53.94% 0.181 349.5)
XYZxyz(24.0070, 13.7005, 21.1148)
Luminance0.1370 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5337E #33B56A
analogous
#AB33B5 #B5337E #B5333D
triadic
#B5337E #7EB533 #337EB5
tetradic
#B5337E #B5AB33 #33B56A #333DB5
square
#B5337E #B5AB33 #33B56A #333DB5
split-complementary
#B5337E #3DB533 #33B5AB
monochromatic
#56183C #85265D #B5337E #CF569C #DD86B8

Accessibility & contrast

On white

5.62
#B5337E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#B5337E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5337E
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5337E#FFFFFF#000000##FFFFFF
##B5337E1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475980
Deuteranopia (green-blind)
#6C707B
Tritanopia (blue-blind)
#C22C54
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b5337e;
/* rgb */ color: rgb(181, 51, 126);
/* oklch */ color: oklch(53.9% 0.181 349.5);
Tailwind
colors: {
  custom: {
    50: '#cf76a3',
    500: '#b5337e',
    950: '#000000',
  },
}
SCSS
$custom: #b5337e;
$custom-light: #cf76a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b5337e",
  "rgb": {
    "r": 181,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 325.385,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53941,
    "c": 0.18084,
    "h": 349.5
  },
  "luminance": 0.13698
}

Semantic roles & 50–950 ramp

primary
#B5337E
secondary
#7DC69C
accent
#DF8848
background
#FDF7FA
surface
#FAEEF3
border
#D3C9CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B5337E

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

Preview Lab → · Contrast checker → · Palette generator →

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