#BA345C#BA345C

#BA345C is a mid, vivid pink. Relative luminance 0.137; OKLCH L 53.7% C 0.172 H 7.3°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#BA345C
RGBrgb(186, 52, 92)
HSLhsl(342, 56%, 47%)
HSVhsv(342, 72%, 73%)
CMYKcmyk(0%, 72%, 50.5%, 27.1%)
CIE-LABlab(43.76, 55.85, 8.41)
CIE-LCHlch(43.76, 56.48, 8.56°)
OKLaboklab(53.73% 0.1702 0.0218)
OKLCHoklch(53.73% 0.172 7.3)
XYZxyz(23.4115, 13.6709, 11.5291)
Luminance0.1367 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA345C #34BA92
analogous
#BA349F #BA345C #BA4F34
triadic
#BA345C #5CBA34 #345CBA
tetradic
#BA345C #9FBA34 #34BA92 #4F34BA
square
#BA345C #9FBA34 #34BA92 #4F34BA
split-complementary
#BA345C #34BA4F #349FBA
monochromatic
#5A192D #8A2744 #BA345C #D15A7E #DE8AA3

Accessibility & contrast

On white

5.62
#BA345C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#BA345C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA345C
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA345C#FFFFFF#000000##FFFFFF
##BA345C1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54565D
Deuteranopia (green-blind)
#777159
Tritanopia (blue-blind)
#CB1844
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba345c;
/* rgb */ color: rgb(186, 52, 92);
/* oklch */ color: oklch(53.7% 0.172 7.3);
Tailwind
colors: {
  custom: {
    50: '#d57689',
    500: '#ba345c',
    950: '#000000',
  },
}
SCSS
$custom: #ba345c;
$custom-light: #d57689;
$custom-dark: #000000;
JSON
{
  "hex": "#ba345c",
  "rgb": {
    "r": 186,
    "g": 52,
    "b": 92
  },
  "hsl": {
    "h": 342.09,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53727,
    "c": 0.17156,
    "h": 7.3
  },
  "luminance": 0.13668
}

Semantic roles & 50–950 ramp

primary
#BA345C
secondary
#81C8B3
accent
#E0B248
background
#FDF7F8
surface
#FBEEF0
border
#D4C9CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA345C

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

Preview Lab → · Contrast checker → · Palette generator →

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