#BA2C6C#BA2C6C

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

Color values

HEX#BA2C6C
RGBrgb(186, 44, 108)
HSLhsl(333, 62%, 45%)
HSVhsv(333, 76%, 73%)
CMYKcmyk(0%, 76.3%, 41.9%, 27.1%)
CIE-LABlab(43.25, 60.02, -2.27)
CIE-LCHlch(43.25, 60.06, 357.83°)
OKLaboklab(53.5% 0.1844 -0.0052)
OKLCHoklch(53.5% 0.184 358.4)
XYZxyz(23.8589, 13.3263, 15.5003)
Luminance0.1332 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2C6C #2CBA7A
analogous
#BA2CB3 #BA2C6C #BA332C
triadic
#BA2C6C #6CBA2C #2C6CBA
tetradic
#BA2C6C #B3BA2C #2CBA7A #332CBA
square
#BA2C6C #B3BA2C #2CBA7A #332CBA
split-complementary
#BA2C6C #2CBA33 #2CB3BA
monochromatic
#571533 #89204F #BA2C6C #D54E8B #E180AB

Accessibility & contrast

On white

5.73
#BA2C6C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2C6C
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2C6C#FFFFFF#000000##FFFFFF
##BA2C6C1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B556E
Deuteranopia (green-blind)
#727069
Tritanopia (blue-blind)
#CA1448
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba2c6c;
/* rgb */ color: rgb(186, 44, 108);
/* oklch */ color: oklch(53.5% 0.184 358.4);
Tailwind
colors: {
  custom: {
    50: '#d47396',
    500: '#ba2c6c',
    950: '#000000',
  },
}
SCSS
$custom: #ba2c6c;
$custom-light: #d47396;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2c6c",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 108
  },
  "hsl": {
    "h": 332.958,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53502,
    "c": 0.18449,
    "h": 358.4
  },
  "luminance": 0.13323
}

Semantic roles & 50–950 ramp

primary
#BA2C6C
secondary
#78CAA5
accent
#E59C43
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BA2C6C

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

Preview Lab → · Contrast checker → · Palette generator →

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