#B5345A#B5345A

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

Color values

HEX#B5345A
RGBrgb(181, 52, 90)
HSLhsl(342, 55%, 46%)
HSVhsv(342, 71%, 71%)
CMYKcmyk(0%, 71.3%, 50.3%, 29%)
CIE-LABlab(42.79, 54.18, 8.17)
CIE-LCHlch(42.79, 54.79, 8.57°)
OKLaboklab(52.83% 0.1651 0.0212)
OKLCHoklch(52.83% 0.166 7.3)
XYZxyz(22.1314, 13.0209, 11.0188)
Luminance0.1302 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5345A #34B58F
analogous
#B5349A #B5345A #B54F34
triadic
#B5345A #5AB534 #345AB5
tetradic
#B5345A #9AB534 #34B58F #4F34B5
square
#B5345A #9AB534 #34B58F #4F34B5
split-complementary
#B5345A #34B54F #349AB5
monochromatic
#56192B #852642 #B5345A #CF577B #DC87A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5345A#FFFFFF#000000##FFFFFF
##B5345A1.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)
#53555B
Deuteranopia (green-blind)
#746E57
Tritanopia (blue-blind)
#C51B44
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b5345a;
/* rgb */ color: rgb(181, 52, 90);
/* oklch */ color: oklch(52.8% 0.166 7.3);
Tailwind
colors: {
  custom: {
    50: '#d17588',
    500: '#b5345a',
    950: '#000000',
  },
}
SCSS
$custom: #b5345a;
$custom-light: #d17588;
$custom-dark: #000000;
JSON
{
  "hex": "#b5345a",
  "rgb": {
    "r": 181,
    "g": 52,
    "b": 90
  },
  "hsl": {
    "h": 342.326,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52829,
    "c": 0.16642,
    "h": 7.3
  },
  "luminance": 0.13018
}

Semantic roles & 50–950 ramp

primary
#B5345A
secondary
#7FC6B1
accent
#DFB349
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B5345A

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

Preview Lab → · Contrast checker → · Palette generator →

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