#BA2B5B#BA2B5B

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

Color values

HEX#BA2B5B
RGBrgb(186, 43, 91)
HSLhsl(340, 62%, 45%)
HSVhsv(340, 77%, 73%)
CMYKcmyk(0%, 76.9%, 51.1%, 27.1%)
CIE-LABlab(42.65, 58.79, 7.47)
CIE-LCHlch(42.65, 59.26, 7.24°)
OKLaboklab(52.9% 0.1795 0.0195)
OKLCHoklch(52.9% 0.181 6.2)
XYZxyz(23.0040, 12.9254, 11.1790)
Luminance0.1292 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2B5B #2BBA8A
analogous
#BA2BA3 #BA2B5B #BA432B
triadic
#BA2B5B #5BBA2B #2B5BBA
tetradic
#BA2B5B #A3BA2B #2BBA8A #432BBA
square
#BA2B5B #A3BA2B #2BBA8A #432BBA
split-complementary
#BA2B5B #2BBA43 #2BA3BA
monochromatic
#57142A #882043 #BA2B5B #D64C7B #E17E9F

Accessibility & contrast

On white

5.86
#BA2B5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#BA2B5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2B5B
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2B5B#FFFFFF#000000##FFFFFF
##BA2B5B1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba2b5b;
/* rgb */ color: rgb(186, 43, 91);
/* oklch */ color: oklch(52.9% 0.181 6.2);
Tailwind
colors: {
  custom: {
    50: '#d57289',
    500: '#ba2b5b',
    950: '#000000',
  },
}
SCSS
$custom: #ba2b5b;
$custom-light: #d57289;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2b5b",
  "rgb": {
    "r": 186,
    "g": 43,
    "b": 91
  },
  "hsl": {
    "h": 339.86,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52901,
    "c": 0.18058,
    "h": 6.2
  },
  "luminance": 0.12922
}

Semantic roles & 50–950 ramp

primary
#BA2B5B
secondary
#77CAAE
accent
#E6AF42
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA2B5B

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

Preview Lab → · Contrast checker → · Palette generator →

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