#BA2A6E#BA2A6E

#BA2A6E is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.4% C 0.187 H 357.2°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#BA2A6E
RGBrgb(186, 42, 110)
HSLhsl(332, 63%, 45%)
HSVhsv(332, 77%, 73%)
CMYKcmyk(0%, 77.4%, 40.9%, 27.1%)
CIE-LABlab(43.10, 60.83, -3.74)
CIE-LCHlch(43.10, 60.94, 356.48°)
OKLaboklab(53.41% 0.187 -0.0091)
OKLCHoklch(53.41% 0.187 357.2)
XYZxyz(23.8939, 13.2239, 16.0431)
Luminance0.1322 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2A6E #2ABA76
analogous
#BA2AB6 #BA2A6E #BA2E2A
triadic
#BA2A6E #6EBA2A #2A6EBA
tetradic
#BA2A6E #B6BA2A #2ABA76 #2E2ABA
square
#BA2A6E #B6BA2A #2ABA76 #2E2ABA
split-complementary
#BA2A6E #2ABA2E #2AB6BA
monochromatic
#561333 #881F50 #BA2A6E #D64B8D #E27DAC

Accessibility & contrast

On white

5.76
#BA2A6E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2A6E
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2A6E#FFFFFF#000000##FFFFFF
##BA2A6E1.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495570
Deuteranopia (green-blind)
#71706B
Tritanopia (blue-blind)
#C91249
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba2a6e;
/* rgb */ color: rgb(186, 42, 110);
/* oklch */ color: oklch(53.4% 0.187 357.2);
Tailwind
colors: {
  custom: {
    50: '#d47297',
    500: '#ba2a6e',
    950: '#000000',
  },
}
SCSS
$custom: #ba2a6e;
$custom-light: #d47297;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2a6e",
  "rgb": {
    "r": 186,
    "g": 42,
    "b": 110
  },
  "hsl": {
    "h": 331.667,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53412,
    "c": 0.18722,
    "h": 357.2
  },
  "luminance": 0.13221
}

Semantic roles & 50–950 ramp

primary
#BA2A6E
secondary
#76CAA2
accent
#E69842
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BA2A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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