#BA2B6C#BA2B6C

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

Color values

HEX#BA2B6C
RGBrgb(186, 43, 108)
HSLhsl(333, 62%, 45%)
HSVhsv(333, 77%, 73%)
CMYKcmyk(0%, 76.9%, 41.9%, 27.1%)
CIE-LABlab(43.14, 60.33, -2.43)
CIE-LCHlch(43.14, 60.38, 357.69°)
OKLaboklab(53.42% 0.1854 -0.0056)
OKLCHoklch(53.42% 0.186 358.3)
XYZxyz(23.8221, 13.2527, 15.4880)
Luminance0.1325 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2B6C #2BBA79
analogous
#BA2BB4 #BA2B6C #BA312B
triadic
#BA2B6C #6CBA2B #2B6CBA
tetradic
#BA2B6C #B4BA2B #2BBA79 #312BBA
square
#BA2B6C #B4BA2B #2BBA79 #312BBA
split-complementary
#BA2B6C #2BBA31 #2BB4BA
monochromatic
#571432 #88204F #BA2B6C #D64C8B #E17EAB

Accessibility & contrast

On white

5.75
#BA2B6C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2B6C
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2B6C#FFFFFF#000000##FFFFFF
##BA2B6C1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B556E
Deuteranopia (green-blind)
#727069
Tritanopia (blue-blind)
#CA1248
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba2b6c;
/* rgb */ color: rgb(186, 43, 108);
/* oklch */ color: oklch(53.4% 0.185 358.3);
Tailwind
colors: {
  custom: {
    50: '#d47296',
    500: '#ba2b6c',
    950: '#000000',
  },
}
SCSS
$custom: #ba2b6c;
$custom-light: #d47296;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2b6c",
  "rgb": {
    "r": 186,
    "g": 43,
    "b": 108
  },
  "hsl": {
    "h": 332.727,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53422,
    "c": 0.1855,
    "h": 358.3
  },
  "luminance": 0.1325
}

Semantic roles & 50–950 ramp

primary
#BA2B6C
secondary
#77CAA4
accent
#E69B42
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BA2B6C

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

Preview Lab → · Contrast checker → · Palette generator →

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