#BA3156#BA3156

#BA3156 is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.3% C 0.174 H 9.6°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#BA3156
RGBrgb(186, 49, 86)
HSLhsl(344, 58%, 46%)
HSVhsv(344, 74%, 73%)
CMYKcmyk(0%, 73.7%, 53.8%, 27.1%)
CIE-LABlab(43.23, 56.42, 11.41)
CIE-LCHlch(43.23, 57.56, 11.43°)
OKLaboklab(53.29% 0.1713 0.029)
OKLCHoklch(53.29% 0.174 9.6)
XYZxyz(23.0298, 13.3108, 10.1588)
Luminance0.1331 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3156 #31BA95
analogous
#BA319A #BA3156 #BA5131
triadic
#BA3156 #56BA31 #3156BA
tetradic
#BA3156 #9ABA31 #31BA95 #5131BA
square
#BA3156 #9ABA31 #31BA95 #5131BA
split-complementary
#BA3156 #31BA51 #319ABA
monochromatic
#591729 #8A2440 #BA3156 #D25677 #DF869E

Accessibility & contrast

On white

5.74
#BA3156 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#BA3156 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3156
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3156#FFFFFF#000000##FFFFFF
##BA31561.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545457
Deuteranopia (green-blind)
#777053
Tritanopia (blue-blind)
#CB0C40
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba3156;
/* rgb */ color: rgb(186, 49, 86);
/* oklch */ color: oklch(53.3% 0.174 9.6);
Tailwind
colors: {
  custom: {
    50: '#d57485',
    500: '#ba3156',
    950: '#000000',
  },
}
SCSS
$custom: #ba3156;
$custom-light: #d57485;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3156",
  "rgb": {
    "r": 186,
    "g": 49,
    "b": 86
  },
  "hsl": {
    "h": 343.796,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53286,
    "c": 0.17374,
    "h": 9.6
  },
  "luminance": 0.13308
}

Semantic roles & 50–950 ramp

primary
#BA3156
secondary
#7EC9B5
accent
#E2B846
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA3156

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

Preview Lab → · Contrast checker → · Palette generator →

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