#BA345F#BA345F

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

Color values

HEX#BA345F
RGBrgb(186, 52, 95)
HSLhsl(341, 56%, 47%)
HSVhsv(341, 72%, 73%)
CMYKcmyk(0%, 72%, 48.9%, 27.1%)
CIE-LABlab(43.84, 56.11, 6.66)
CIE-LCHlch(43.84, 56.50, 6.77°)
OKLaboklab(53.81% 0.1713 0.0175)
OKLCHoklch(53.81% 0.172 5.8)
XYZxyz(23.5452, 13.7244, 12.2335)
Luminance0.1372 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA345F #34BA8F
analogous
#BA34A2 #BA345F #BA4C34
triadic
#BA345F #5FBA34 #345FBA
tetradic
#BA345F #A2BA34 #34BA8F #4C34BA
square
#BA345F #A2BA34 #34BA8F #4C34BA
split-complementary
#BA345F #34BA4C #34A2BA
monochromatic
#5A192E #8A2747 #BA345F #D15A80 #DE8AA5

Accessibility & contrast

On white

5.61
#BA345F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA345F
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA345F#FFFFFF#000000##FFFFFF
##BA345F1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535760
Deuteranopia (green-blind)
#77715C
Tritanopia (blue-blind)
#CA1A46
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba345f;
/* rgb */ color: rgb(186, 52, 95);
/* oklch */ color: oklch(53.8% 0.172 5.8);
Tailwind
colors: {
  custom: {
    50: '#d4768c',
    500: '#ba345f',
    950: '#000000',
  },
}
SCSS
$custom: #ba345f;
$custom-light: #d4768c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba345f",
  "rgb": {
    "r": 186,
    "g": 52,
    "b": 95
  },
  "hsl": {
    "h": 340.746,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53809,
    "c": 0.17218,
    "h": 5.8
  },
  "luminance": 0.13721
}

Semantic roles & 50–950 ramp

primary
#BA345F
secondary
#81C8B2
accent
#E0AF48
background
#FDF7F8
surface
#FBEEF0
border
#D4C9CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BA345F

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

Preview Lab → · Contrast checker → · Palette generator →

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