#B5345C#B5345C

#B5345C is a mid, vivid pink. Relative luminance 0.131; OKLCH L 52.9% C 0.167 H 6.3°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#B5345C
RGBrgb(181, 52, 92)
HSLhsl(341, 55%, 46%)
HSVhsv(341, 71%, 71%)
CMYKcmyk(0%, 71.3%, 49.2%, 29%)
CIE-LABlab(42.85, 54.36, 6.99)
CIE-LCHlch(42.85, 54.80, 7.33°)
OKLaboklab(52.88% 0.1658 0.0183)
OKLCHoklch(52.88% 0.167 6.3)
XYZxyz(22.2177, 13.0554, 11.4731)
Luminance0.1305 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5345C #34B58D
analogous
#B5349C #B5345C #B54C34
triadic
#B5345C #5CB534 #345CB5
tetradic
#B5345C #9CB534 #34B58D #4C34B5
square
#B5345C #9CB534 #34B58D #4C34B5
split-complementary
#B5345C #34B54C #349CB5
monochromatic
#56192C #852644 #B5345C #CF577C #DC87A1

Accessibility & contrast

On white

5.82
#B5345C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#B5345C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5345C
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5345C#FFFFFF#000000##FFFFFF
##B5345C1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52555D
Deuteranopia (green-blind)
#746F59
Tritanopia (blue-blind)
#C51C44
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b5345c;
/* rgb */ color: rgb(181, 52, 92);
/* oklch */ color: oklch(52.9% 0.167 6.3);
Tailwind
colors: {
  custom: {
    50: '#d17589',
    500: '#b5345c',
    950: '#000000',
  },
}
SCSS
$custom: #b5345c;
$custom-light: #d17589;
$custom-dark: #000000;
JSON
{
  "hex": "#b5345c",
  "rgb": {
    "r": 181,
    "g": 52,
    "b": 92
  },
  "hsl": {
    "h": 341.395,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52884,
    "c": 0.16682,
    "h": 6.3
  },
  "luminance": 0.13052
}

Semantic roles & 50–950 ramp

primary
#B5345C
secondary
#7FC6B0
accent
#DFB049
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B5345C

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

Preview Lab → · Contrast checker → · Palette generator →

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