#B5345F#B5345F

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

Color values

HEX#B5345F
RGBrgb(181, 52, 95)
HSLhsl(340, 55%, 46%)
HSVhsv(340, 71%, 71%)
CMYKcmyk(0%, 71.3%, 47.5%, 29%)
CIE-LABlab(42.93, 54.63, 5.24)
CIE-LCHlch(42.93, 54.88, 5.48°)
OKLaboklab(52.97% 0.1669 0.014)
OKLCHoklch(52.97% 0.168 4.8)
XYZxyz(22.3514, 13.1089, 12.1775)
Luminance0.1311 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5345F #34B58A
analogous
#B5349F #B5345F #B54934
triadic
#B5345F #5FB534 #345FB5
tetradic
#B5345F #9FB534 #34B58A #4934B5
square
#B5345F #9FB534 #34B58A #4934B5
split-complementary
#B5345F #34B549 #349FB5
monochromatic
#56192D #852646 #B5345F #CF577F #DC87A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5345F#FFFFFF#000000##FFFFFF
##B5345F1.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)
#515560
Deuteranopia (green-blind)
#746F5C
Tritanopia (blue-blind)
#C51D46
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b5345f;
/* rgb */ color: rgb(181, 52, 95);
/* oklch */ color: oklch(53.0% 0.168 4.8);
Tailwind
colors: {
  custom: {
    50: '#d1758c',
    500: '#b5345f',
    950: '#000000',
  },
}
SCSS
$custom: #b5345f;
$custom-light: #d1758c;
$custom-dark: #000000;
JSON
{
  "hex": "#b5345f",
  "rgb": {
    "r": 181,
    "g": 52,
    "b": 95
  },
  "hsl": {
    "h": 340,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.5297,
    "c": 0.1675,
    "h": 4.8
  },
  "luminance": 0.13106
}

Semantic roles & 50–950 ramp

primary
#B5345F
secondary
#7FC6AE
accent
#DFAD49
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B5345F

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

Preview Lab → · Contrast checker → · Palette generator →

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