#BA2A6F#BA2A6F

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

Color values

HEX#BA2A6F
RGBrgb(186, 42, 111)
HSLhsl(331, 63%, 45%)
HSVhsv(331, 77%, 73%)
CMYKcmyk(0%, 77.4%, 40.3%, 27.1%)
CIE-LABlab(43.13, 60.93, -4.31)
CIE-LCHlch(43.13, 61.08, 355.95°)
OKLaboklab(53.45% 0.1873 -0.0106)
OKLCHoklch(53.45% 0.188 356.8)
XYZxyz(23.9486, 13.2458, 16.3314)
Luminance0.1324 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2A6F #2ABA75
analogous
#BA2AB7 #BA2A6F #BA2D2A
triadic
#BA2A6F #6FBA2A #2A6FBA
tetradic
#BA2A6F #B7BA2A #2ABA75 #2D2ABA
square
#BA2A6F #B7BA2A #2ABA75 #2D2ABA
split-complementary
#BA2A6F #2ABA2D #2AB7BA
monochromatic
#561333 #881F51 #BA2A6F #D64B8E #E27DAD

Accessibility & contrast

On white

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

On black

3.65
#BA2A6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA2A6F#FFFFFF#000000##FFFFFF
##BA2A6F1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495571
Deuteranopia (green-blind)
#71706C
Tritanopia (blue-blind)
#C91349
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba2a6f;
/* rgb */ color: rgb(186, 42, 111);
/* oklch */ color: oklch(53.4% 0.188 356.8);
Tailwind
colors: {
  custom: {
    50: '#d47298',
    500: '#ba2a6f',
    950: '#000000',
  },
}
SCSS
$custom: #ba2a6f;
$custom-light: #d47298;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2a6f",
  "rgb": {
    "r": 186,
    "g": 42,
    "b": 111
  },
  "hsl": {
    "h": 331.25,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53446,
    "c": 0.18761,
    "h": 356.8
  },
  "luminance": 0.13243
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA2A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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