#BA2B6B#BA2B6B

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

Color values

HEX#BA2B6B
RGBrgb(186, 43, 107)
HSLhsl(333, 62%, 45%)
HSVhsv(333, 77%, 73%)
CMYKcmyk(0%, 76.9%, 42.5%, 27.1%)
CIE-LABlab(43.11, 60.23, -1.86)
CIE-LCHlch(43.11, 60.26, 358.23°)
OKLaboklab(53.39% 0.1851 -0.0041)
OKLCHoklch(53.39% 0.185 358.7)
XYZxyz(23.7692, 13.2315, 15.2093)
Luminance0.1323 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2B6B #2BBA7A
analogous
#BA2BB2 #BA2B6B #BA332B
triadic
#BA2B6B #6BBA2B #2B6BBA
tetradic
#BA2B6B #B2BA2B #2BBA7A #332BBA
square
#BA2B6B #B2BA2B #2BBA7A #332BBA
split-complementary
#BA2B6B #2BBA33 #2BB2BA
monochromatic
#571432 #88204E #BA2B6B #D64C8A #E17EAB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA2B6B#FFFFFF#000000##FFFFFF
##BA2B6B1.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)
#4B556D
Deuteranopia (green-blind)
#727068
Tritanopia (blue-blind)
#CA1147
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba2b6b;
/* rgb */ color: rgb(186, 43, 107);
/* oklch */ color: oklch(53.4% 0.185 358.7);
Tailwind
colors: {
  custom: {
    50: '#d47295',
    500: '#ba2b6b',
    950: '#000000',
  },
}
SCSS
$custom: #ba2b6b;
$custom-light: #d47295;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2b6b",
  "rgb": {
    "r": 186,
    "g": 43,
    "b": 107
  },
  "hsl": {
    "h": 333.147,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53389,
    "c": 0.18514,
    "h": 358.7
  },
  "luminance": 0.13228
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA2B6B

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

Preview Lab → · Contrast checker → · Palette generator →

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