#BA2A61#BA2A61

#BA2A61 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.0% C 0.183 H 3.2°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#BA2A61
RGBrgb(186, 42, 97)
HSLhsl(337, 63%, 45%)
HSVhsv(337, 77%, 73%)
CMYKcmyk(0%, 77.4%, 47.8%, 27.1%)
CIE-LABlab(42.70, 59.61, 3.79)
CIE-LCHlch(42.70, 59.73, 3.64°)
OKLaboklab(52.99% 0.1827 0.0103)
OKLCHoklch(52.99% 0.183 3.2)
XYZxyz(23.2373, 12.9613, 12.5851)
Luminance0.1296 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2A61 #2ABA83
analogous
#BA2AA9 #BA2A61 #BA3B2A
triadic
#BA2A61 #61BA2A #2A61BA
tetradic
#BA2A61 #A9BA2A #2ABA83 #3B2ABA
square
#BA2A61 #A9BA2A #2ABA83 #3B2ABA
split-complementary
#BA2A61 #2ABA3B #2AA9BA
monochromatic
#56132D #881F47 #BA2A61 #D64B80 #E27DA3

Accessibility & contrast

On white

5.85
#BA2A61 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#BA2A61 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2A61
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2A61#FFFFFF#000000##FFFFFF
##BA2A611.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5362
Deuteranopia (green-blind)
#736F5E
Tritanopia (blue-blind)
#CA0242
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2a61;
/* rgb */ color: rgb(186, 42, 97);
/* oklch */ color: oklch(53.0% 0.183 3.2);
Tailwind
colors: {
  custom: {
    50: '#d5728d',
    500: '#ba2a61',
    950: '#000000',
  },
}
SCSS
$custom: #ba2a61;
$custom-light: #d5728d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2a61",
  "rgb": {
    "r": 186,
    "g": 42,
    "b": 97
  },
  "hsl": {
    "h": 337.083,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52994,
    "c": 0.18297,
    "h": 3.2
  },
  "luminance": 0.12958
}

Semantic roles & 50–950 ramp

primary
#BA2A61
secondary
#76CAAA
accent
#E6A742
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BA2A61

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

Preview Lab → · Contrast checker → · Palette generator →

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