#BA2C62#BA2C62

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

Color values

HEX#BA2C62
RGBrgb(186, 44, 98)
HSLhsl(337, 62%, 45%)
HSVhsv(337, 76%, 73%)
CMYKcmyk(0%, 76.3%, 47.3%, 27.1%)
CIE-LABlab(42.95, 59.08, 3.52)
CIE-LCHlch(42.95, 59.18, 3.41°)
OKLaboklab(53.19% 0.1811 0.0097)
OKLCHoklch(53.19% 0.181 3.1)
XYZxyz(23.3569, 13.1255, 12.8564)
Luminance0.1312 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2C62 #2CBA84
analogous
#BA2CA9 #BA2C62 #BA3D2C
triadic
#BA2C62 #62BA2C #2C62BA
tetradic
#BA2C62 #A9BA2C #2CBA84 #3D2CBA
square
#BA2C62 #A9BA2C #2CBA84 #3D2CBA
split-complementary
#BA2C62 #2CBA3D #2CA9BA
monochromatic
#57152E #892048 #BA2C62 #D54E81 #E180A5

Accessibility & contrast

On white

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

On black

3.62
#BA2C62 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA2C62#FFFFFF#000000##FFFFFF
##BA2C621.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5463
Deuteranopia (green-blind)
#746F5F
Tritanopia (blue-blind)
#CA0A43
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2c62;
/* rgb */ color: rgb(186, 44, 98);
/* oklch */ color: oklch(53.2% 0.181 3.1);
Tailwind
colors: {
  custom: {
    50: '#d5738e',
    500: '#ba2c62',
    950: '#000000',
  },
}
SCSS
$custom: #ba2c62;
$custom-light: #d5738e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2c62",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 98
  },
  "hsl": {
    "h": 337.183,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53185,
    "c": 0.18131,
    "h": 3.1
  },
  "luminance": 0.13122
}

Semantic roles & 50–950 ramp

primary
#BA2C62
secondary
#78CAAB
accent
#E5A743
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BA2C62

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

Preview Lab → · Contrast checker → · Palette generator →

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