#B5345D#B5345D

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

Color values

HEX#B5345D
RGBrgb(181, 52, 93)
HSLhsl(341, 55%, 46%)
HSVhsv(341, 71%, 71%)
CMYKcmyk(0%, 71.3%, 48.6%, 29%)
CIE-LABlab(42.87, 54.44, 6.41)
CIE-LCHlch(42.87, 54.82, 6.71°)
OKLaboklab(52.91% 0.1662 0.0169)
OKLCHoklch(52.91% 0.167 5.8)
XYZxyz(22.2617, 13.0730, 11.7049)
Luminance0.1307 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5345D #34B58C
analogous
#B5349D #B5345D #B54B34
triadic
#B5345D #5DB534 #345DB5
tetradic
#B5345D #9DB534 #34B58C #4B34B5
square
#B5345D #9DB534 #34B58C #4B34B5
split-complementary
#B5345D #34B54B #349DB5
monochromatic
#56192C #852645 #B5345D #CF577D #DC87A2

Accessibility & contrast

On white

5.81
#B5345D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B5345D
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5345D#FFFFFF#000000##FFFFFF
##B5345D1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52555E
Deuteranopia (green-blind)
#746F5A
Tritanopia (blue-blind)
#C51C45
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b5345d;
/* rgb */ color: rgb(181, 52, 93);
/* oklch */ color: oklch(52.9% 0.167 5.8);
Tailwind
colors: {
  custom: {
    50: '#d1758a',
    500: '#b5345d',
    950: '#000000',
  },
}
SCSS
$custom: #b5345d;
$custom-light: #d1758a;
$custom-dark: #000000;
JSON
{
  "hex": "#b5345d",
  "rgb": {
    "r": 181,
    "g": 52,
    "b": 93
  },
  "hsl": {
    "h": 340.93,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52913,
    "c": 0.16704,
    "h": 5.8
  },
  "luminance": 0.1307
}

Semantic roles & 50–950 ramp

primary
#B5345D
secondary
#7FC6AF
accent
#DFAF49
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B5345D

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

Preview Lab → · Contrast checker → · Palette generator →

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