#B5335D#B5335D

#B5335D is a mid, vivid pink. Relative luminance 0.130; OKLCH L 52.8% C 0.168 H 5.6°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#B5335D
RGBrgb(181, 51, 93)
HSLhsl(341, 56%, 45%)
HSVhsv(341, 72%, 71%)
CMYKcmyk(0%, 71.8%, 48.6%, 29%)
CIE-LABlab(42.74, 54.81, 6.22)
CIE-LCHlch(42.74, 55.16, 6.47°)
OKLaboklab(52.81% 0.1674 0.0164)
OKLCHoklch(52.81% 0.168 5.6)
XYZxyz(22.2175, 12.9847, 11.6901)
Luminance0.1298 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5335D #33B58B
analogous
#B5339E #B5335D #B54A33
triadic
#B5335D #5DB533 #335DB5
tetradic
#B5335D #9EB533 #33B58B #4A33B5
square
#B5335D #9EB533 #33B58B #4A33B5
split-complementary
#B5335D #33B54A #339EB5
monochromatic
#56182C #852644 #B5335D #CF567D #DD86A2

Accessibility & contrast

On white

5.84
#B5335D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#B5335D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5335D
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5335D#FFFFFF#000000##FFFFFF
##B5335D1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51555E
Deuteranopia (green-blind)
#746E5A
Tritanopia (blue-blind)
#C51B44
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b5335d;
/* rgb */ color: rgb(181, 51, 93);
/* oklch */ color: oklch(52.8% 0.168 5.6);
Tailwind
colors: {
  custom: {
    50: '#d1758a',
    500: '#b5335d',
    950: '#000000',
  },
}
SCSS
$custom: #b5335d;
$custom-light: #d1758a;
$custom-dark: #000000;
JSON
{
  "hex": "#b5335d",
  "rgb": {
    "r": 181,
    "g": 51,
    "b": 93
  },
  "hsl": {
    "h": 340.615,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52814,
    "c": 0.16817,
    "h": 5.6
  },
  "luminance": 0.12982
}

Semantic roles & 50–950 ramp

primary
#B5335D
secondary
#7DC6AF
accent
#DFAF48
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B5335D

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

Preview Lab → · Contrast checker → · Palette generator →

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