#BA2CA1#BA2CA1

#BA2CA1 is a mid, highly saturated pink. Relative luminance 0.148; OKLCH L 55.7% C 0.213 H 336.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#BA2CA1
RGBrgb(186, 44, 161)
HSLhsl(311, 62%, 45%)
HSVhsv(311, 76%, 73%)
CMYKcmyk(0%, 76.3%, 13.4%, 27.1%)
CIE-LABlab(45.38, 66.46, -31.33)
CIE-LCHlch(45.38, 73.47, 334.76°)
OKLaboklab(55.75% 0.1954 -0.0854)
OKLCHoklch(55.75% 0.213 336.4)
XYZxyz(27.5839, 14.8162, 35.1184)
Luminance0.1481 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2CA1 #2CBA45
analogous
#8C2CBA #BA2CA1 #BA2C5A
triadic
#BA2CA1 #A1BA2C #2CA1BA
tetradic
#BA2CA1 #BA8C2C #2CBA45 #2C5ABA
square
#BA2CA1 #BA8C2C #2CBA45 #2C5ABA
split-complementary
#BA2CA1 #5ABA2C #2CBA8C
monochromatic
#57154B #892076 #BA2CA1 #D54EBD #E180D0

Accessibility & contrast

On white

5.30
#BA2CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#BA2CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2CA1
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2CA1#FFFFFF#000000##FFFFFF
##BA2CA11.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5EA4
Deuteranopia (green-blind)
#61739E
Tritanopia (blue-blind)
#C43764
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba2ca1;
/* rgb */ color: rgb(186, 44, 161);
/* oklch */ color: oklch(55.7% 0.213 336.4);
Tailwind
colors: {
  custom: {
    50: '#d375bd',
    500: '#ba2ca1',
    950: '#000000',
  },
}
SCSS
$custom: #ba2ca1;
$custom-light: #d375bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2ca1",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 310.563,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55745,
    "c": 0.21321,
    "h": 336.4
  },
  "luminance": 0.14814
}

Semantic roles & 50–950 ramp

primary
#BA2CA1
secondary
#78CA87
accent
#E55F43
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BA2CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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