#B5335C#B5335C

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

Color values

HEX#B5335C
RGBrgb(181, 51, 92)
HSLhsl(341, 56%, 45%)
HSVhsv(341, 72%, 71%)
CMYKcmyk(0%, 71.8%, 49.2%, 29%)
CIE-LABlab(42.71, 54.72, 6.81)
CIE-LCHlch(42.71, 55.15, 7.09°)
OKLaboklab(52.79% 0.167 0.0179)
OKLCHoklch(52.79% 0.168 6.1)
XYZxyz(22.1735, 12.9671, 11.4584)
Luminance0.1296 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5335C #33B58C
analogous
#B5339D #B5335C #B54B33
triadic
#B5335C #5CB533 #335CB5
tetradic
#B5335C #9DB533 #33B58C #4B33B5
square
#B5335C #9DB533 #33B58C #4B33B5
split-complementary
#B5335C #33B54B #339DB5
monochromatic
#56182B #852644 #B5335C #CF567C #DD86A1

Accessibility & contrast

On white

5.85
#B5335C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B5335C
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5335C#FFFFFF#000000##FFFFFF
##B5335C1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51545D
Deuteranopia (green-blind)
#746E59
Tritanopia (blue-blind)
#C51A44
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b5335c;
/* rgb */ color: rgb(181, 51, 92);
/* oklch */ color: oklch(52.8% 0.168 6.1);
Tailwind
colors: {
  custom: {
    50: '#d17589',
    500: '#b5335c',
    950: '#000000',
  },
}
SCSS
$custom: #b5335c;
$custom-light: #d17589;
$custom-dark: #000000;
JSON
{
  "hex": "#b5335c",
  "rgb": {
    "r": 181,
    "g": 51,
    "b": 92
  },
  "hsl": {
    "h": 341.077,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52786,
    "c": 0.16795,
    "h": 6.1
  },
  "luminance": 0.12964
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B5335C

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

Preview Lab → · Contrast checker → · Palette generator →

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