#B5345B#B5345B

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

Color values

HEX#B5345B
RGBrgb(181, 52, 91)
HSLhsl(342, 55%, 46%)
HSVhsv(342, 71%, 71%)
CMYKcmyk(0%, 71.3%, 49.7%, 29%)
CIE-LABlab(42.82, 54.27, 7.58)
CIE-LCHlch(42.82, 54.79, 7.95°)
OKLaboklab(52.86% 0.1654 0.0198)
OKLCHoklch(52.86% 0.167 6.8)
XYZxyz(22.1742, 13.0380, 11.2444)
Luminance0.1303 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5345B #34B58E
analogous
#B5349C #B5345B #B54D34
triadic
#B5345B #5BB534 #345BB5
tetradic
#B5345B #9CB534 #34B58E #4D34B5
square
#B5345B #9CB534 #34B58E #4D34B5
split-complementary
#B5345B #34B54D #349CB5
monochromatic
#56192B #852643 #B5345B #CF577B #DC87A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5345B#FFFFFF#000000##FFFFFF
##B5345B1.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)
#52555C
Deuteranopia (green-blind)
#746F58
Tritanopia (blue-blind)
#C51B44
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b5345b;
/* rgb */ color: rgb(181, 52, 91);
/* oklch */ color: oklch(52.9% 0.167 6.8);
Tailwind
colors: {
  custom: {
    50: '#d17589',
    500: '#b5345b',
    950: '#000000',
  },
}
SCSS
$custom: #b5345b;
$custom-light: #d17589;
$custom-dark: #000000;
JSON
{
  "hex": "#b5345b",
  "rgb": {
    "r": 181,
    "g": 52,
    "b": 91
  },
  "hsl": {
    "h": 341.86,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52857,
    "c": 0.16662,
    "h": 6.8
  },
  "luminance": 0.13035
}

Semantic roles & 50–950 ramp

primary
#B5345B
secondary
#7FC6B1
accent
#DFB149
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B5345B

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

Preview Lab → · Contrast checker → · Palette generator →

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