#BA345D#BA345D

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

Color values

HEX#BA345D
RGBrgb(186, 52, 93)
HSLhsl(342, 56%, 47%)
HSVhsv(342, 72%, 73%)
CMYKcmyk(0%, 72%, 50%, 27.1%)
CIE-LABlab(43.78, 55.94, 7.83)
CIE-LCHlch(43.78, 56.48, 7.96°)
OKLaboklab(53.75% 0.1706 0.0204)
OKLCHoklch(53.75% 0.172 6.8)
XYZxyz(23.4555, 13.6885, 11.7608)
Luminance0.1368 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA345D #34BA91
analogous
#BA34A0 #BA345D #BA4E34
triadic
#BA345D #5DBA34 #345DBA
tetradic
#BA345D #A0BA34 #34BA91 #4E34BA
square
#BA345D #A0BA34 #34BA91 #4E34BA
split-complementary
#BA345D #34BA4E #34A0BA
monochromatic
#5A192D #8A2745 #BA345D #D15A7F #DE8AA4

Accessibility & contrast

On white

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

On black

3.74
#BA345D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA345D#FFFFFF#000000##FFFFFF
##BA345D1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54565E
Deuteranopia (green-blind)
#77715A
Tritanopia (blue-blind)
#CB1945
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba345d;
/* rgb */ color: rgb(186, 52, 93);
/* oklch */ color: oklch(53.8% 0.172 6.8);
Tailwind
colors: {
  custom: {
    50: '#d5768a',
    500: '#ba345d',
    950: '#000000',
  },
}
SCSS
$custom: #ba345d;
$custom-light: #d5768a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba345d",
  "rgb": {
    "r": 186,
    "g": 52,
    "b": 93
  },
  "hsl": {
    "h": 341.642,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53754,
    "c": 0.17176,
    "h": 6.8
  },
  "luminance": 0.13685
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA345D

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

Preview Lab → · Contrast checker → · Palette generator →

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