#B5337A#B5337A

#B5337A is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.8% C 0.179 H 351.3°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#B5337A
RGBrgb(181, 51, 122)
HSLhsl(327, 56%, 45%)
HSVhsv(327, 72%, 71%)
CMYKcmyk(0%, 71.8%, 32.6%, 29%)
CIE-LABlab(43.65, 57.82, -10.43)
CIE-LCHlch(43.65, 58.75, 349.78°)
OKLaboklab(53.79% 0.1768 -0.027)
OKLCHoklch(53.79% 0.179 351.3)
XYZxyz(23.7540, 13.5993, 19.7826)
Luminance0.1360 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5337A #33B56E
analogous
#AF33B5 #B5337A #B53339
triadic
#B5337A #7AB533 #337AB5
tetradic
#B5337A #B5AF33 #33B56E #3339B5
square
#B5337A #B5AF33 #33B56E #3339B5
split-complementary
#B5337A #39B533 #33B5AF
monochromatic
#56183A #85265A #B5337A #CF5698 #DD86B5

Accessibility & contrast

On white

5.65
#B5337A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#B5337A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5337A
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5337A#FFFFFF#000000##FFFFFF
##B5337A1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48587C
Deuteranopia (green-blind)
#6D7077
Tritanopia (blue-blind)
#C32A52
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b5337a;
/* rgb */ color: rgb(181, 51, 122);
/* oklch */ color: oklch(53.8% 0.179 351.3);
Tailwind
colors: {
  custom: {
    50: '#d076a0',
    500: '#b5337a',
    950: '#000000',
  },
}
SCSS
$custom: #b5337a;
$custom-light: #d076a0;
$custom-dark: #000000;
JSON
{
  "hex": "#b5337a",
  "rgb": {
    "r": 181,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 327.231,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53785,
    "c": 0.1788,
    "h": 351.3
  },
  "luminance": 0.13597
}

Semantic roles & 50–950 ramp

primary
#B5337A
secondary
#7DC69F
accent
#DF8D48
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B5337A

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

Preview Lab → · Contrast checker → · Palette generator →

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