#BA2C6E#BA2C6E

#BA2C6E is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.6% C 0.185 H 357.5°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#BA2C6E
RGBrgb(186, 44, 110)
HSLhsl(332, 62%, 45%)
HSVhsv(332, 76%, 73%)
CMYKcmyk(0%, 76.3%, 40.9%, 27.1%)
CIE-LABlab(43.31, 60.22, -3.42)
CIE-LCHlch(43.31, 60.31, 356.75°)
OKLaboklab(53.57% 0.1851 -0.0082)
OKLCHoklch(53.57% 0.185 357.5)
XYZxyz(23.9666, 13.3693, 16.0673)
Luminance0.1337 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2C6E #2CBA78
analogous
#BA2CB5 #BA2C6E #BA312C
triadic
#BA2C6E #6EBA2C #2C6EBA
tetradic
#BA2C6E #B5BA2C #2CBA78 #312CBA
square
#BA2C6E #B5BA2C #2CBA78 #312CBA
split-complementary
#BA2C6E #2CBA31 #2CB5BA
monochromatic
#571533 #892051 #BA2C6E #D54E8D #E180AD

Accessibility & contrast

On white

5.72
#BA2C6E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#BA2C6E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2C6E
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2C6E#FFFFFF#000000##FFFFFF
##BA2C6E1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5570
Deuteranopia (green-blind)
#71706B
Tritanopia (blue-blind)
#C91649
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba2c6e;
/* rgb */ color: rgb(186, 44, 110);
/* oklch */ color: oklch(53.6% 0.185 357.5);
Tailwind
colors: {
  custom: {
    50: '#d47397',
    500: '#ba2c6e',
    950: '#000000',
  },
}
SCSS
$custom: #ba2c6e;
$custom-light: #d47397;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2c6e",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 110
  },
  "hsl": {
    "h": 332.113,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5357,
    "c": 0.18523,
    "h": 357.5
  },
  "luminance": 0.13366
}

Semantic roles & 50–950 ramp

primary
#BA2C6E
secondary
#78CAA4
accent
#E59A43
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BA2C6E

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

Preview Lab → · Contrast checker → · Palette generator →

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