#BA2C8C#BA2C8C

#BA2C8C is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.7% C 0.200 H 344.4°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#BA2C8C
RGBrgb(186, 44, 140)
HSLhsl(319, 62%, 45%)
HSVhsv(319, 76%, 73%)
CMYKcmyk(0%, 76.3%, 24.7%, 27.1%)
CIE-LABlab(44.43, 63.63, -20.16)
CIE-LCHlch(44.43, 66.75, 342.42°)
OKLaboklab(54.75% 0.1925 -0.0538)
OKLCHoklch(54.75% 0.2 344.4)
XYZxyz(25.8851, 14.1367, 26.1713)
Luminance0.1413 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2C8C #2CBA5A
analogous
#A12CBA #BA2C8C #BA2C45
triadic
#BA2C8C #8CBA2C #2C8CBA
tetradic
#BA2C8C #BAA12C #2CBA5A #2C45BA
square
#BA2C8C #BAA12C #2CBA5A #2C45BA
split-complementary
#BA2C8C #45BA2C #2CBAA1
monochromatic
#571541 #892067 #BA2C8C #D54EA9 #E180C1

Accessibility & contrast

On white

5.49
#BA2C8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#BA2C8C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2C8C
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2C8C#FFFFFF#000000##FFFFFF
##BA2C8C1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5A8F
Deuteranopia (green-blind)
#697289
Tritanopia (blue-blind)
#C62A59
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba2c8c;
/* rgb */ color: rgb(186, 44, 140);
/* oklch */ color: oklch(54.7% 0.200 344.4);
Tailwind
colors: {
  custom: {
    50: '#d374ad',
    500: '#ba2c8c',
    950: '#000000',
  },
}
SCSS
$custom: #ba2c8c;
$custom-light: #d374ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2c8c",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 140
  },
  "hsl": {
    "h": 319.437,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54746,
    "c": 0.19991,
    "h": 344.4
  },
  "luminance": 0.14134
}

Semantic roles & 50–950 ramp

primary
#BA2C8C
secondary
#78CA93
accent
#E57743
background
#FDF7FA
surface
#FBEDF4
border
#D4C8CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #BA2C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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