#BA2B5A#BA2B5A

#BA2B5A is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.9% C 0.180 H 6.7°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#BA2B5A
RGBrgb(186, 43, 90)
HSLhsl(340, 62%, 45%)
HSVhsv(340, 77%, 73%)
CMYKcmyk(0%, 76.9%, 51.6%, 27.1%)
CIE-LABlab(42.62, 58.71, 8.06)
CIE-LCHlch(42.62, 59.26, 7.82°)
OKLaboklab(52.87% 0.1792 0.0209)
OKLCHoklch(52.87% 0.18 6.7)
XYZxyz(22.9611, 12.9083, 10.9533)
Luminance0.1290 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2B5A #2BBA8B
analogous
#BA2BA1 #BA2B5A #BA442B
triadic
#BA2B5A #5ABA2B #2B5ABA
tetradic
#BA2B5A #A1BA2B #2BBA8B #442BBA
square
#BA2B5A #A1BA2B #2BBA8B #442BBA
split-complementary
#BA2B5A #2BBA44 #2BA1BA
monochromatic
#57142A #882042 #BA2B5A #D64C7A #E17E9F

Accessibility & contrast

On white

5.86
#BA2B5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#BA2B5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2B5A
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2B5A#FFFFFF#000000##FFFFFF
##BA2B5A1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50525B
Deuteranopia (green-blind)
#756F57
Tritanopia (blue-blind)
#CB003F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2b5a;
/* rgb */ color: rgb(186, 43, 90);
/* oklch */ color: oklch(52.9% 0.180 6.7);
Tailwind
colors: {
  custom: {
    50: '#d57288',
    500: '#ba2b5a',
    950: '#000000',
  },
}
SCSS
$custom: #ba2b5a;
$custom-light: #d57288;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2b5a",
  "rgb": {
    "r": 186,
    "g": 43,
    "b": 90
  },
  "hsl": {
    "h": 340.28,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52873,
    "c": 0.18038,
    "h": 6.7
  },
  "luminance": 0.12905
}

Semantic roles & 50–950 ramp

primary
#BA2B5A
secondary
#77CAAF
accent
#E6B042
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA2B5A

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

Preview Lab → · Contrast checker → · Palette generator →

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