#B4345E#B4345E

#B4345E is a mid, vivid pink. Relative luminance 0.130; OKLCH L 52.8% C 0.166 H 5.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#B4345E
RGBrgb(180, 52, 94)
HSLhsl(340, 55%, 45%)
HSVhsv(340, 71%, 71%)
CMYKcmyk(0%, 71.1%, 47.8%, 29.4%)
CIE-LABlab(42.72, 54.24, 5.54)
CIE-LCHlch(42.72, 54.52, 5.83°)
OKLaboklab(52.77% 0.1657 0.0147)
OKLCHoklch(52.77% 0.166 5.1)
XYZxyz(22.0726, 12.9703, 11.9287)
Luminance0.1297 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4345E #34B48A
analogous
#B4349E #B4345E #B44A34
triadic
#B4345E #5EB434 #345EB4
tetradic
#B4345E #9EB434 #34B48A #4A34B4
square
#B4345E #9EB434 #34B48A #4A34B4
split-complementary
#B4345E #34B44A #349EB4
monochromatic
#55192C #852645 #B4345E #CE577E #DC86A2

Accessibility & contrast

On white

5.84
#B4345E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#B4345E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4345E
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4345E#FFFFFF#000000##FFFFFF
##B4345E1.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51555F
Deuteranopia (green-blind)
#736E5B
Tritanopia (blue-blind)
#C41E45
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b4345e;
/* rgb */ color: rgb(180, 52, 94);
/* oklch */ color: oklch(52.8% 0.166 5.1);
Tailwind
colors: {
  custom: {
    50: '#d0758b',
    500: '#b4345e',
    950: '#000000',
  },
}
SCSS
$custom: #b4345e;
$custom-light: #d0758b;
$custom-dark: #000000;
JSON
{
  "hex": "#b4345e",
  "rgb": {
    "r": 180,
    "g": 52,
    "b": 94
  },
  "hsl": {
    "h": 340.313,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52774,
    "c": 0.16632,
    "h": 5.1
  },
  "luminance": 0.12967
}

Semantic roles & 50–950 ramp

primary
#B4345E
secondary
#7EC6AE
accent
#DFAE49
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B4345E

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

Preview Lab → · Contrast checker → · Palette generator →

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