#B5345E#B5345E

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

Color values

HEX#B5345E
RGBrgb(181, 52, 94)
HSLhsl(340, 55%, 46%)
HSVhsv(340, 71%, 71%)
CMYKcmyk(0%, 71.3%, 48.1%, 29%)
CIE-LABlab(42.90, 54.54, 5.82)
CIE-LCHlch(42.90, 54.85, 6.09°)
OKLaboklab(52.94% 0.1666 0.0154)
OKLCHoklch(52.94% 0.167 5.3)
XYZxyz(22.3063, 13.0908, 11.9397)
Luminance0.1309 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5345E #34B58B
analogous
#B5349E #B5345E #B54A34
triadic
#B5345E #5EB534 #345EB5
tetradic
#B5345E #9EB534 #34B58B #4A34B5
square
#B5345E #9EB534 #34B58B #4A34B5
split-complementary
#B5345E #34B54A #349EB5
monochromatic
#56192D #852645 #B5345E #CF577E #DC87A3

Accessibility & contrast

On white

5.80
#B5345E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#B5345E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5345E
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5345E#FFFFFF#000000##FFFFFF
##B5345E1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52555F
Deuteranopia (green-blind)
#746F5B
Tritanopia (blue-blind)
#C51D45
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b5345e;
/* rgb */ color: rgb(181, 52, 94);
/* oklch */ color: oklch(52.9% 0.167 5.3);
Tailwind
colors: {
  custom: {
    50: '#d1758b',
    500: '#b5345e',
    950: '#000000',
  },
}
SCSS
$custom: #b5345e;
$custom-light: #d1758b;
$custom-dark: #000000;
JSON
{
  "hex": "#b5345e",
  "rgb": {
    "r": 181,
    "g": 52,
    "b": 94
  },
  "hsl": {
    "h": 340.465,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52941,
    "c": 0.16727,
    "h": 5.3
  },
  "luminance": 0.13088
}

Semantic roles & 50–950 ramp

primary
#B5345E
secondary
#7FC6AF
accent
#DFAE49
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B5345E

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

Preview Lab → · Contrast checker → · Palette generator →

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