#BA2C90#BA2C90

#BA2C90 is a mid, highly saturated pink. Relative luminance 0.143; OKLCH L 54.9% C 0.202 H 342.8°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#BA2C90
RGBrgb(186, 44, 144)
HSLhsl(318, 62%, 45%)
HSVhsv(318, 76%, 73%)
CMYKcmyk(0%, 76.3%, 22.6%, 27.1%)
CIE-LABlab(44.60, 64.14, -22.33)
CIE-LCHlch(44.60, 67.92, 340.81°)
OKLaboklab(54.93% 0.1932 -0.0598)
OKLCHoklch(54.93% 0.202 342.8)
XYZxyz(26.1854, 14.2568, 27.7530)
Luminance0.1425 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2C90 #2CBA56
analogous
#9D2CBA #BA2C90 #BA2C49
triadic
#BA2C90 #90BA2C #2C90BA
tetradic
#BA2C90 #BA9D2C #2CBA56 #2C49BA
square
#BA2C90 #BA9D2C #2CBA56 #2C49BA
split-complementary
#BA2C90 #49BA2C #2CBA9D
monochromatic
#571543 #89206A #BA2C90 #D54EAD #E180C4

Accessibility & contrast

On white

5.45
#BA2C90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#BA2C90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2C90
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2C90#FFFFFF#000000##FFFFFF
##BA2C901.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5B93
Deuteranopia (green-blind)
#68728D
Tritanopia (blue-blind)
#C62D5B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba2c90;
/* rgb */ color: rgb(186, 44, 144);
/* oklch */ color: oklch(54.9% 0.202 342.8);
Tailwind
colors: {
  custom: {
    50: '#d374b0',
    500: '#ba2c90',
    950: '#000000',
  },
}
SCSS
$custom: #ba2c90;
$custom-light: #d374b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2c90",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 144
  },
  "hsl": {
    "h": 317.746,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54926,
    "c": 0.2023,
    "h": 342.8
  },
  "luminance": 0.14254
}

Semantic roles & 50–950 ramp

primary
#BA2C90
secondary
#78CA90
accent
#E57343
background
#FDF7FA
surface
#FBEEF5
border
#D4C9CF
text
#150910
muted
#837B7F

Preview Lab

Preview with #BA2C90

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

Preview Lab → · Contrast checker → · Palette generator →

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