#BA2C63#BA2C63

#BA2C63 is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.2% C 0.182 H 2.6°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#BA2C63
RGBrgb(186, 44, 99)
HSLhsl(337, 62%, 45%)
HSVhsv(337, 76%, 73%)
CMYKcmyk(0%, 76.3%, 46.8%, 27.1%)
CIE-LABlab(42.98, 59.17, 2.94)
CIE-LCHlch(42.98, 59.24, 2.84°)
OKLaboklab(53.22% 0.1814 0.0082)
OKLCHoklch(53.22% 0.182 2.6)
XYZxyz(23.4044, 13.1445, 13.1067)
Luminance0.1314 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2C63 #2CBA83
analogous
#BA2CAA #BA2C63 #BA3C2C
triadic
#BA2C63 #63BA2C #2C63BA
tetradic
#BA2C63 #AABA2C #2CBA83 #3C2CBA
square
#BA2C63 #AABA2C #2CBA83 #3C2CBA
split-complementary
#BA2C63 #2CBA3C #2CAABA
monochromatic
#57152E #892049 #BA2C63 #D54E82 #E180A5

Accessibility & contrast

On white

5.79
#BA2C63 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#BA2C63 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2C63
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2C63#FFFFFF#000000##FFFFFF
##BA2C631.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5464
Deuteranopia (green-blind)
#746F60
Tritanopia (blue-blind)
#CA0B44
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2c63;
/* rgb */ color: rgb(186, 44, 99);
/* oklch */ color: oklch(53.2% 0.182 2.6);
Tailwind
colors: {
  custom: {
    50: '#d5738f',
    500: '#ba2c63',
    950: '#000000',
  },
}
SCSS
$custom: #ba2c63;
$custom-light: #d5738f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2c63",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 99
  },
  "hsl": {
    "h": 336.761,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53215,
    "c": 0.18158,
    "h": 2.6
  },
  "luminance": 0.13141
}

Semantic roles & 50–950 ramp

primary
#BA2C63
secondary
#78CAAA
accent
#E5A643
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BA2C63

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

Preview Lab → · Contrast checker → · Palette generator →

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