#BA2C6A#BA2C6A

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

Color values

HEX#BA2C6A
RGBrgb(186, 44, 106)
HSLhsl(334, 62%, 45%)
HSVhsv(334, 76%, 73%)
CMYKcmyk(0%, 76.3%, 43%, 27.1%)
CIE-LABlab(43.19, 59.82, -1.12)
CIE-LCHlch(43.19, 59.83, 358.93°)
OKLaboklab(53.44% 0.1838 -0.0022)
OKLCHoklch(53.44% 0.184 359.3)
XYZxyz(23.7537, 13.2842, 14.9461)
Luminance0.1328 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2C6A #2CBA7C
analogous
#BA2CB1 #BA2C6A #BA352C
triadic
#BA2C6A #6ABA2C #2C6ABA
tetradic
#BA2C6A #B1BA2C #2CBA7C #352CBA
square
#BA2C6A #B1BA2C #2CBA7C #352CBA
split-complementary
#BA2C6A #2CBA35 #2CB1BA
monochromatic
#571532 #89204E #BA2C6A #D54E89 #E180AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA2C6A#FFFFFF#000000##FFFFFF
##BA2C6A1.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)
#4C556C
Deuteranopia (green-blind)
#727067
Tritanopia (blue-blind)
#CA1247
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba2c6a;
/* rgb */ color: rgb(186, 44, 106);
/* oklch */ color: oklch(53.4% 0.184 359.3);
Tailwind
colors: {
  custom: {
    50: '#d47394',
    500: '#ba2c6a',
    950: '#000000',
  },
}
SCSS
$custom: #ba2c6a;
$custom-light: #d47394;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2c6a",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 106
  },
  "hsl": {
    "h": 333.803,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53436,
    "c": 0.18378,
    "h": 359.3
  },
  "luminance": 0.13281
}

Semantic roles & 50–950 ramp

primary
#BA2C6A
secondary
#78CAA6
accent
#E59E43
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BA2C6A

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

Preview Lab → · Contrast checker → · Palette generator →

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