#BA2D55#BA2D55

#BA2D55 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 52.9% C 0.178 H 9.3°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#BA2D55
RGBrgb(186, 45, 85)
HSLhsl(343, 61%, 45%)
HSVhsv(343, 76%, 73%)
CMYKcmyk(0%, 75.8%, 54.3%, 27.1%)
CIE-LABlab(42.73, 57.68, 11.33)
CIE-LCHlch(42.73, 58.78, 11.12°)
OKLaboklab(52.91% 0.1752 0.0288)
OKLCHoklch(52.91% 0.178 9.3)
XYZxyz(22.8299, 12.9750, 9.8948)
Luminance0.1297 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2D55 #2DBA92
analogous
#BA2D9B #BA2D55 #BA4C2D
triadic
#BA2D55 #55BA2D #2D55BA
tetradic
#BA2D55 #9BBA2D #2DBA92 #4C2DBA
square
#BA2D55 #9BBA2D #2DBA92 #4C2DBA
split-complementary
#BA2D55 #2DBA4C #2D9BBA
monochromatic
#571528 #89213E #BA2D55 #D55075 #E0819C

Accessibility & contrast

On white

5.84
#BA2D55 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2D55
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2D55#FFFFFF#000000##FFFFFF
##BA2D551.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525356
Deuteranopia (green-blind)
#766F52
Tritanopia (blue-blind)
#CB003E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2d55;
/* rgb */ color: rgb(186, 45, 85);
/* oklch */ color: oklch(52.9% 0.178 9.3);
Tailwind
colors: {
  custom: {
    50: '#d57384',
    500: '#ba2d55',
    950: '#000000',
  },
}
SCSS
$custom: #ba2d55;
$custom-light: #d57384;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2d55",
  "rgb": {
    "r": 186,
    "g": 45,
    "b": 85
  },
  "hsl": {
    "h": 342.979,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52907,
    "c": 0.17757,
    "h": 9.3
  },
  "luminance": 0.12972
}

Semantic roles & 50–950 ramp

primary
#BA2D55
secondary
#79C9B3
accent
#E4B744
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090A
muted
#837B7C

Preview Lab

Preview with #BA2D55

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

Preview Lab → · Contrast checker → · Palette generator →

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