#BA3460#BA3460

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

Color values

HEX#BA3460
RGBrgb(186, 52, 96)
HSLhsl(340, 56%, 47%)
HSVhsv(340, 72%, 73%)
CMYKcmyk(0%, 72%, 48.4%, 27.1%)
CIE-LABlab(43.86, 56.20, 6.07)
CIE-LCHlch(43.86, 56.53, 6.17°)
OKLaboklab(53.84% 0.1717 0.016)
OKLCHoklch(53.84% 0.172 5.3)
XYZxyz(23.5910, 13.7427, 12.4744)
Luminance0.1374 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3460 #34BA8E
analogous
#BA34A3 #BA3460 #BA4B34
triadic
#BA3460 #60BA34 #3460BA
tetradic
#BA3460 #A3BA34 #34BA8E #4B34BA
square
#BA3460 #A3BA34 #34BA8E #4B34BA
split-complementary
#BA3460 #34BA4B #34A3BA
monochromatic
#5A192F #8A2747 #BA3460 #D15A81 #DE8AA6

Accessibility & contrast

On white

5.60
#BA3460 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#BA3460 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3460
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3460#FFFFFF#000000##FFFFFF
##BA34601.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535761
Deuteranopia (green-blind)
#77715D
Tritanopia (blue-blind)
#CA1B46
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba3460;
/* rgb */ color: rgb(186, 52, 96);
/* oklch */ color: oklch(53.8% 0.172 5.3);
Tailwind
colors: {
  custom: {
    50: '#d4768c',
    500: '#ba3460',
    950: '#000000',
  },
}
SCSS
$custom: #ba3460;
$custom-light: #d4768c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3460",
  "rgb": {
    "r": 186,
    "g": 52,
    "b": 96
  },
  "hsl": {
    "h": 340.299,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53838,
    "c": 0.17241,
    "h": 5.3
  },
  "luminance": 0.1374
}

Semantic roles & 50–950 ramp

primary
#BA3460
secondary
#81C8B1
accent
#E0AE48
background
#FDF7F8
surface
#FBEEF0
border
#D4C9CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BA3460

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

Preview Lab → · Contrast checker → · Palette generator →

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