#BA2B6A#BA2B6A

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

Color values

HEX#BA2B6A
RGBrgb(186, 43, 106)
HSLhsl(334, 62%, 45%)
HSVhsv(334, 77%, 73%)
CMYKcmyk(0%, 76.9%, 43%, 27.1%)
CIE-LABlab(43.08, 60.13, -1.28)
CIE-LCHlch(43.08, 60.15, 358.78°)
OKLaboklab(53.36% 0.1848 -0.0026)
OKLCHoklch(53.36% 0.185 359.2)
XYZxyz(23.7169, 13.2106, 14.9339)
Luminance0.1321 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2B6A #2BBA7B
analogous
#BA2BB2 #BA2B6A #BA332B
triadic
#BA2B6A #6ABA2B #2B6ABA
tetradic
#BA2B6A #B2BA2B #2BBA7B #332BBA
square
#BA2B6A #B2BA2B #2BBA7B #332BBA
split-complementary
#BA2B6A #2BBA33 #2BB2BA
monochromatic
#571431 #88204E #BA2B6A #D64C89 #E17EAA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA2B6A#FFFFFF#000000##FFFFFF
##BA2B6A1.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)
#4B546C
Deuteranopia (green-blind)
#727067
Tritanopia (blue-blind)
#CA1047
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba2b6a;
/* rgb */ color: rgb(186, 43, 106);
/* oklch */ color: oklch(53.4% 0.185 359.2);
Tailwind
colors: {
  custom: {
    50: '#d47294',
    500: '#ba2b6a',
    950: '#000000',
  },
}
SCSS
$custom: #ba2b6a;
$custom-light: #d47294;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2b6a",
  "rgb": {
    "r": 186,
    "g": 43,
    "b": 106
  },
  "hsl": {
    "h": 333.566,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53356,
    "c": 0.18478,
    "h": 359.2
  },
  "luminance": 0.13207
}

Semantic roles & 50–950 ramp

primary
#BA2B6A
secondary
#77CAA5
accent
#E69E42
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BA2B6A

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

Preview Lab → · Contrast checker → · Palette generator →

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