#BA2C66#BA2C66

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

Color values

HEX#BA2C66
RGBrgb(186, 44, 102)
HSLhsl(335, 62%, 45%)
HSVhsv(335, 76%, 73%)
CMYKcmyk(0%, 76.3%, 45.2%, 27.1%)
CIE-LABlab(43.07, 59.44, 1.19)
CIE-LCHlch(43.07, 59.46, 1.15°)
OKLaboklab(53.31% 0.1824 0.0037)
OKLCHoklch(53.31% 0.182 1.2)
XYZxyz(23.5505, 13.2029, 13.8761)
Luminance0.1320 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2C66 #2CBA80
analogous
#BA2CAD #BA2C66 #BA392C
triadic
#BA2C66 #66BA2C #2C66BA
tetradic
#BA2C66 #ADBA2C #2CBA80 #392CBA
square
#BA2C66 #ADBA2C #2CBA80 #392CBA
split-complementary
#BA2C66 #2CBA39 #2CADBA
monochromatic
#571530 #89204B #BA2C66 #D54E85 #E180A7

Accessibility & contrast

On white

5.77
#BA2C66 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#BA2C66 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2C66
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2C66#FFFFFF#000000##FFFFFF
##BA2C661.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5467
Deuteranopia (green-blind)
#737063
Tritanopia (blue-blind)
#CA0E45
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba2c66;
/* rgb */ color: rgb(186, 44, 102);
/* oklch */ color: oklch(53.3% 0.182 1.2);
Tailwind
colors: {
  custom: {
    50: '#d47391',
    500: '#ba2c66',
    950: '#000000',
  },
}
SCSS
$custom: #ba2c66;
$custom-light: #d47391;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2c66",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 102
  },
  "hsl": {
    "h": 335.493,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53308,
    "c": 0.18248,
    "h": 1.2
  },
  "luminance": 0.132
}

Semantic roles & 50–950 ramp

primary
#BA2C66
secondary
#78CAA8
accent
#E5A343
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BA2C66

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

Preview Lab → · Contrast checker → · Palette generator →

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