#B5335E#B5335E

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

Color values

HEX#B5335E
RGBrgb(181, 51, 94)
HSLhsl(340, 56%, 45%)
HSVhsv(340, 72%, 71%)
CMYKcmyk(0%, 71.8%, 48.1%, 29%)
CIE-LABlab(42.77, 54.90, 5.63)
CIE-LCHlch(42.77, 55.19, 5.86°)
OKLaboklab(52.84% 0.1677 0.0149)
OKLCHoklch(52.84% 0.168 5.1)
XYZxyz(22.2621, 13.0025, 11.9249)
Luminance0.1300 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5335E #33B58A
analogous
#B5339F #B5335E #B54933
triadic
#B5335E #5EB533 #335EB5
tetradic
#B5335E #9FB533 #33B58A #4933B5
square
#B5335E #9FB533 #33B58A #4933B5
split-complementary
#B5335E #33B549 #339FB5
monochromatic
#56182C #852645 #B5335E #CF567E #DD86A2

Accessibility & contrast

On white

5.83
#B5335E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B5335E
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5335E#FFFFFF#000000##FFFFFF
##B5335E1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51555F
Deuteranopia (green-blind)
#736E5B
Tritanopia (blue-blind)
#C51B45
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b5335e;
/* rgb */ color: rgb(181, 51, 94);
/* oklch */ color: oklch(52.8% 0.168 5.1);
Tailwind
colors: {
  custom: {
    50: '#d1758b',
    500: '#b5335e',
    950: '#000000',
  },
}
SCSS
$custom: #b5335e;
$custom-light: #d1758b;
$custom-dark: #000000;
JSON
{
  "hex": "#b5335e",
  "rgb": {
    "r": 181,
    "g": 51,
    "b": 94
  },
  "hsl": {
    "h": 340.154,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52843,
    "c": 0.1684,
    "h": 5.1
  },
  "luminance": 0.13
}

Semantic roles & 50–950 ramp

primary
#B5335E
secondary
#7DC6AE
accent
#DFAD48
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B5335E

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

Preview Lab → · Contrast checker → · Palette generator →

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