#BA2A63#BA2A63

#BA2A63 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.1% C 0.184 H 2.3°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#BA2A63
RGBrgb(186, 42, 99)
HSLhsl(336, 63%, 45%)
HSVhsv(336, 77%, 73%)
CMYKcmyk(0%, 77.4%, 46.8%, 27.1%)
CIE-LABlab(42.76, 59.79, 2.62)
CIE-LCHlch(42.76, 59.84, 2.51°)
OKLaboklab(53.05% 0.1834 0.0074)
OKLCHoklch(53.05% 0.184 2.3)
XYZxyz(23.3317, 12.9990, 13.0824)
Luminance0.1300 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2A63 #2ABA81
analogous
#BA2AAB #BA2A63 #BA392A
triadic
#BA2A63 #63BA2A #2A63BA
tetradic
#BA2A63 #ABBA2A #2ABA81 #392ABA
square
#BA2A63 #ABBA2A #2ABA81 #392ABA
split-complementary
#BA2A63 #2ABA39 #2AABBA
monochromatic
#56132E #881F48 #BA2A63 #D64B82 #E27DA5

Accessibility & contrast

On white

5.83
#BA2A63 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2A63
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2A63#FFFFFF#000000##FFFFFF
##BA2A631.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5364
Deuteranopia (green-blind)
#736F60
Tritanopia (blue-blind)
#CA0543
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2a63;
/* rgb */ color: rgb(186, 42, 99);
/* oklch */ color: oklch(53.1% 0.184 2.3);
Tailwind
colors: {
  custom: {
    50: '#d5728f',
    500: '#ba2a63',
    950: '#000000',
  },
}
SCSS
$custom: #ba2a63;
$custom-light: #d5728f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2a63",
  "rgb": {
    "r": 186,
    "g": 42,
    "b": 99
  },
  "hsl": {
    "h": 336.25,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53054,
    "c": 0.18353,
    "h": 2.3
  },
  "luminance": 0.12996
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA2A63

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

Preview Lab → · Contrast checker → · Palette generator →

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