#BA2B5C#BA2B5C

#BA2B5C is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.9% C 0.181 H 5.7°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#BA2B5C
RGBrgb(186, 43, 92)
HSLhsl(339, 62%, 45%)
HSVhsv(339, 77%, 73%)
CMYKcmyk(0%, 76.9%, 50.5%, 27.1%)
CIE-LABlab(42.68, 58.87, 6.88)
CIE-LCHlch(42.68, 59.27, 6.67°)
OKLaboklab(52.93% 0.1799 0.018)
OKLCHoklch(52.93% 0.181 5.7)
XYZxyz(23.0474, 12.9428, 11.4077)
Luminance0.1294 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2B5C #2BBA89
analogous
#BA2BA3 #BA2B5C #BA422B
triadic
#BA2B5C #5CBA2B #2B5CBA
tetradic
#BA2B5C #A3BA2B #2BBA89 #422BBA
square
#BA2B5C #A3BA2B #2BBA89 #422BBA
split-complementary
#BA2B5C #2BBA42 #2BA3BA
monochromatic
#57142B #882043 #BA2B5C #D64C7C #E17EA0

Accessibility & contrast

On white

5.85
#BA2B5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#BA2B5C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2B5C
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2B5C#FFFFFF#000000##FFFFFF
##BA2B5C1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F535D
Deuteranopia (green-blind)
#756F59
Tritanopia (blue-blind)
#CB0040
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2b5c;
/* rgb */ color: rgb(186, 43, 92);
/* oklch */ color: oklch(52.9% 0.181 5.7);
Tailwind
colors: {
  custom: {
    50: '#d57289',
    500: '#ba2b5c',
    950: '#000000',
  },
}
SCSS
$custom: #ba2b5c;
$custom-light: #d57289;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2b5c",
  "rgb": {
    "r": 186,
    "g": 43,
    "b": 92
  },
  "hsl": {
    "h": 339.441,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52929,
    "c": 0.18079,
    "h": 5.7
  },
  "luminance": 0.1294
}

Semantic roles & 50–950 ramp

primary
#BA2B5C
secondary
#77CAAD
accent
#E6AE42
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA2B5C

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

Preview Lab → · Contrast checker → · Palette generator →

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