#BA3159#BA3159

#BA3159 is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.4% C 0.174 H 8.2°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#BA3159
RGBrgb(186, 49, 89)
HSLhsl(342, 58%, 46%)
HSVhsv(342, 74%, 73%)
CMYKcmyk(0%, 73.7%, 52.2%, 27.1%)
CIE-LABlab(43.30, 56.66, 9.64)
CIE-LCHlch(43.30, 57.47, 9.65°)
OKLaboklab(53.36% 0.1725 0.0248)
OKLCHoklch(53.36% 0.174 8.2)
XYZxyz(23.1533, 13.3602, 10.8088)
Luminance0.1336 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3159 #31BA92
analogous
#BA319D #BA3159 #BA4D31
triadic
#BA3159 #59BA31 #3159BA
tetradic
#BA3159 #9DBA31 #31BA92 #4D31BA
square
#BA3159 #9DBA31 #31BA92 #4D31BA
split-complementary
#BA3159 #31BA4D #319DBA
monochromatic
#59172B #8A2442 #BA3159 #D2567A #DF86A0

Accessibility & contrast

On white

5.72
#BA3159 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#BA3159 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3159
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3159#FFFFFF#000000##FFFFFF
##BA31591.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53555A
Deuteranopia (green-blind)
#777056
Tritanopia (blue-blind)
#CB0F42
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba3159;
/* rgb */ color: rgb(186, 49, 89);
/* oklch */ color: oklch(53.4% 0.174 8.2);
Tailwind
colors: {
  custom: {
    50: '#d57487',
    500: '#ba3159',
    950: '#000000',
  },
}
SCSS
$custom: #ba3159;
$custom-light: #d57487;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3159",
  "rgb": {
    "r": 186,
    "g": 49,
    "b": 89
  },
  "hsl": {
    "h": 342.482,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53364,
    "c": 0.17422,
    "h": 8.2
  },
  "luminance": 0.13357
}

Semantic roles & 50–950 ramp

primary
#BA3159
secondary
#7EC9B3
accent
#E2B446
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA3159

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

Preview Lab → · Contrast checker → · Palette generator →

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