#B5335A#B5335A

#B5335A is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.7% C 0.168 H 7.1°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#B5335A
RGBrgb(181, 51, 90)
HSLhsl(342, 56%, 45%)
HSVhsv(342, 72%, 71%)
CMYKcmyk(0%, 71.8%, 50.3%, 29%)
CIE-LABlab(42.66, 54.55, 7.98)
CIE-LCHlch(42.66, 55.13, 8.32°)
OKLaboklab(52.73% 0.1663 0.0207)
OKLCHoklch(52.73% 0.168 7.1)
XYZxyz(22.0872, 12.9325, 11.0040)
Luminance0.1293 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5335A #33B58E
analogous
#B5339B #B5335A #B54D33
triadic
#B5335A #5AB533 #335AB5
tetradic
#B5335A #9BB533 #33B58E #4D33B5
square
#B5335A #9BB533 #33B58E #4D33B5
split-complementary
#B5335A #33B54D #339BB5
monochromatic
#56182B #852642 #B5335A #CF567A #DD86A0

Accessibility & contrast

On white

5.86
#B5335A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#B5335A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5335A
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5335A#FFFFFF#000000##FFFFFF
##B5335A1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52545B
Deuteranopia (green-blind)
#746E57
Tritanopia (blue-blind)
#C51943
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b5335a;
/* rgb */ color: rgb(181, 51, 90);
/* oklch */ color: oklch(52.7% 0.168 7.1);
Tailwind
colors: {
  custom: {
    50: '#d17588',
    500: '#b5335a',
    950: '#000000',
  },
}
SCSS
$custom: #b5335a;
$custom-light: #d17588;
$custom-dark: #000000;
JSON
{
  "hex": "#b5335a",
  "rgb": {
    "r": 181,
    "g": 51,
    "b": 90
  },
  "hsl": {
    "h": 342,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.5273,
    "c": 0.16754,
    "h": 7.1
  },
  "luminance": 0.1293
}

Semantic roles & 50–950 ramp

primary
#B5335A
secondary
#7DC6B1
accent
#DFB248
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B5335A

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

Preview Lab → · Contrast checker → · Palette generator →

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