#BA2A62#BA2A62

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

Color values

HEX#BA2A62
RGBrgb(186, 42, 98)
HSLhsl(337, 63%, 45%)
HSVhsv(337, 77%, 73%)
CMYKcmyk(0%, 77.4%, 47.3%, 27.1%)
CIE-LABlab(42.73, 59.70, 3.21)
CIE-LCHlch(42.73, 59.78, 3.08°)
OKLaboklab(53.02% 0.183 0.0089)
OKLCHoklch(53.02% 0.183 2.8)
XYZxyz(23.2842, 12.9800, 12.8322)
Luminance0.1298 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2A62 #2ABA82
analogous
#BA2AAA #BA2A62 #BA3A2A
triadic
#BA2A62 #62BA2A #2A62BA
tetradic
#BA2A62 #AABA2A #2ABA82 #3A2ABA
square
#BA2A62 #AABA2A #2ABA82 #3A2ABA
split-complementary
#BA2A62 #2ABA3A #2AAABA
monochromatic
#56132D #881F48 #BA2A62 #D64B81 #E27DA4

Accessibility & contrast

On white

5.84
#BA2A62 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#BA2A62 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2A62
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2A62#FFFFFF#000000##FFFFFF
##BA2A621.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5363
Deuteranopia (green-blind)
#736F5F
Tritanopia (blue-blind)
#CA0443
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2a62;
/* rgb */ color: rgb(186, 42, 98);
/* oklch */ color: oklch(53.0% 0.183 2.8);
Tailwind
colors: {
  custom: {
    50: '#d5728e',
    500: '#ba2a62',
    950: '#000000',
  },
}
SCSS
$custom: #ba2a62;
$custom-light: #d5728e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2a62",
  "rgb": {
    "r": 186,
    "g": 42,
    "b": 98
  },
  "hsl": {
    "h": 336.667,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53024,
    "c": 0.18325,
    "h": 2.8
  },
  "luminance": 0.12977
}

Semantic roles & 50–950 ramp

primary
#BA2A62
secondary
#76CAA9
accent
#E6A642
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BA2A62

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

Preview Lab → · Contrast checker → · Palette generator →

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