#BA2C6D#BA2C6D

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

Color values

HEX#BA2C6D
RGBrgb(186, 44, 109)
HSLhsl(333, 62%, 45%)
HSVhsv(333, 76%, 73%)
CMYKcmyk(0%, 76.3%, 41.4%, 27.1%)
CIE-LABlab(43.28, 60.12, -2.85)
CIE-LCHlch(43.28, 60.18, 357.29°)
OKLaboklab(53.54% 0.1847 -0.0067)
OKLCHoklch(53.54% 0.185 357.9)
XYZxyz(23.9125, 13.3477, 15.7822)
Luminance0.1335 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2C6D #2CBA79
analogous
#BA2CB4 #BA2C6D #BA322C
triadic
#BA2C6D #6DBA2C #2C6DBA
tetradic
#BA2C6D #B4BA2C #2CBA79 #322CBA
square
#BA2C6D #B4BA2C #2CBA79 #322CBA
split-complementary
#BA2C6D #2CBA32 #2CB4BA
monochromatic
#571533 #892050 #BA2C6D #D54E8C #E180AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA2C6D#FFFFFF#000000##FFFFFF
##BA2C6D1.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)
#4B556F
Deuteranopia (green-blind)
#72706A
Tritanopia (blue-blind)
#C91549
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba2c6d;
/* rgb */ color: rgb(186, 44, 109);
/* oklch */ color: oklch(53.5% 0.185 357.9);
Tailwind
colors: {
  custom: {
    50: '#d47396',
    500: '#ba2c6d',
    950: '#000000',
  },
}
SCSS
$custom: #ba2c6d;
$custom-light: #d47396;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2c6d",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 109
  },
  "hsl": {
    "h": 332.535,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53536,
    "c": 0.18485,
    "h": 357.9
  },
  "luminance": 0.13345
}

Semantic roles & 50–950 ramp

primary
#BA2C6D
secondary
#78CAA4
accent
#E59B43
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BA2C6D

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

Preview Lab → · Contrast checker → · Palette generator →

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