#BA2A5D#BA2A5D

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

Color values

HEX#BA2A5D
RGBrgb(186, 42, 93)
HSLhsl(339, 63%, 45%)
HSVhsv(339, 77%, 73%)
CMYKcmyk(0%, 77.4%, 50%, 27.1%)
CIE-LABlab(42.59, 59.26, 6.14)
CIE-LCHlch(42.59, 59.58, 5.91°)
OKLaboklab(52.88% 0.1813 0.0162)
OKLCHoklch(52.88% 0.182 5.1)
XYZxyz(23.0555, 12.8885, 11.6275)
Luminance0.1288 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2A5D #2ABA87
analogous
#BA2AA5 #BA2A5D #BA3F2A
triadic
#BA2A5D #5DBA2A #2A5DBA
tetradic
#BA2A5D #A5BA2A #2ABA87 #3F2ABA
square
#BA2A5D #A5BA2A #2ABA87 #3F2ABA
split-complementary
#BA2A5D #2ABA3F #2AA5BA
monochromatic
#56132B #881F44 #BA2A5D #D64B7C #E27DA1

Accessibility & contrast

On white

5.87
#BA2A5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2A5D
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2A5D#FFFFFF#000000##FFFFFF
##BA2A5D1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E525E
Deuteranopia (green-blind)
#746F5A
Tritanopia (blue-blind)
#CB0040
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2a5d;
/* rgb */ color: rgb(186, 42, 93);
/* oklch */ color: oklch(52.9% 0.182 5.1);
Tailwind
colors: {
  custom: {
    50: '#d5728a',
    500: '#ba2a5d',
    950: '#000000',
  },
}
SCSS
$custom: #ba2a5d;
$custom-light: #d5728a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2a5d",
  "rgb": {
    "r": 186,
    "g": 42,
    "b": 93
  },
  "hsl": {
    "h": 338.75,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52877,
    "c": 0.18197,
    "h": 5.1
  },
  "luminance": 0.12885
}

Semantic roles & 50–950 ramp

primary
#BA2A5D
secondary
#76CAAC
accent
#E6AC42
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA2A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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