#BA2C64#BA2C64

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

Color values

HEX#BA2C64
RGBrgb(186, 44, 100)
HSLhsl(336, 62%, 45%)
HSVhsv(336, 76%, 73%)
CMYKcmyk(0%, 76.3%, 46.2%, 27.1%)
CIE-LABlab(43.01, 59.26, 2.36)
CIE-LCHlch(43.01, 59.31, 2.28°)
OKLaboklab(53.25% 0.1818 0.0067)
OKLCHoklch(53.25% 0.182 2.1)
XYZxyz(23.4525, 13.1637, 13.3600)
Luminance0.1316 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2C64 #2CBA82
analogous
#BA2CAB #BA2C64 #BA3B2C
triadic
#BA2C64 #64BA2C #2C64BA
tetradic
#BA2C64 #ABBA2C #2CBA82 #3B2CBA
square
#BA2C64 #ABBA2C #2CBA82 #3B2CBA
split-complementary
#BA2C64 #2CBA3B #2CABBA
monochromatic
#57152F #892049 #BA2C64 #D54E83 #E180A6

Accessibility & contrast

On white

5.78
#BA2C64 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2C64
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2C64#FFFFFF#000000##FFFFFF
##BA2C641.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5465
Deuteranopia (green-blind)
#737061
Tritanopia (blue-blind)
#CA0C44
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba2c64;
/* rgb */ color: rgb(186, 44, 100);
/* oklch */ color: oklch(53.2% 0.182 2.1);
Tailwind
colors: {
  custom: {
    50: '#d4738f',
    500: '#ba2c64',
    950: '#000000',
  },
}
SCSS
$custom: #ba2c64;
$custom-light: #d4738f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2c64",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 100
  },
  "hsl": {
    "h": 336.338,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53245,
    "c": 0.18187,
    "h": 2.1
  },
  "luminance": 0.13161
}

Semantic roles & 50–950 ramp

primary
#BA2C64
secondary
#78CAA9
accent
#E5A543
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BA2C64

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

Preview Lab → · Contrast checker → · Palette generator →

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