#BA2A6C#BA2A6C

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

Color values

HEX#BA2A6C
RGBrgb(186, 42, 108)
HSLhsl(333, 63%, 45%)
HSVhsv(333, 77%, 73%)
CMYKcmyk(0%, 77.4%, 41.9%, 27.1%)
CIE-LABlab(43.03, 60.63, -2.59)
CIE-LCHlch(43.03, 60.69, 357.55°)
OKLaboklab(53.34% 0.1864 -0.006)
OKLCHoklch(53.34% 0.186 358.1)
XYZxyz(23.7862, 13.1808, 15.4760)
Luminance0.1318 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2A6C #2ABA78
analogous
#BA2AB4 #BA2A6C #BA302A
triadic
#BA2A6C #6CBA2A #2A6CBA
tetradic
#BA2A6C #B4BA2A #2ABA78 #302ABA
square
#BA2A6C #B4BA2A #2ABA78 #302ABA
split-complementary
#BA2A6C #2ABA30 #2AB4BA
monochromatic
#561332 #881F4F #BA2A6C #D64B8B #E27DAB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA2A6C#FFFFFF#000000##FFFFFF
##BA2A6C1.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A546E
Deuteranopia (green-blind)
#716F69
Tritanopia (blue-blind)
#CA1048
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba2a6c;
/* rgb */ color: rgb(186, 42, 108);
/* oklch */ color: oklch(53.3% 0.186 358.1);
Tailwind
colors: {
  custom: {
    50: '#d47296',
    500: '#ba2a6c',
    950: '#000000',
  },
}
SCSS
$custom: #ba2a6c;
$custom-light: #d47296;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2a6c",
  "rgb": {
    "r": 186,
    "g": 42,
    "b": 108
  },
  "hsl": {
    "h": 332.5,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53344,
    "c": 0.18647,
    "h": 358.1
  },
  "luminance": 0.13178
}

Semantic roles & 50–950 ramp

primary
#BA2A6C
secondary
#76CAA3
accent
#E69B42
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BA2A6C

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

Preview Lab → · Contrast checker → · Palette generator →

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