#BA2D57#BA2D57

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

Color values

HEX#BA2D57
RGBrgb(186, 45, 87)
HSLhsl(342, 61%, 45%)
HSVhsv(342, 76%, 73%)
CMYKcmyk(0%, 75.8%, 53.2%, 27.1%)
CIE-LABlab(42.77, 57.84, 10.15)
CIE-LCHlch(42.77, 58.72, 9.95°)
OKLaboklab(52.96% 0.176 0.026)
OKLCHoklch(52.96% 0.178 8.4)
XYZxyz(22.9105, 13.0072, 10.3192)
Luminance0.1300 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2D57 #2DBA90
analogous
#BA2D9D #BA2D57 #BA4A2D
triadic
#BA2D57 #57BA2D #2D57BA
tetradic
#BA2D57 #9DBA2D #2DBA90 #4A2DBA
square
#BA2D57 #9DBA2D #2DBA90 #4A2DBA
split-complementary
#BA2D57 #2DBA4A #2D9DBA
monochromatic
#571529 #892140 #BA2D57 #D55077 #E0819D

Accessibility & contrast

On white

5.83
#BA2D57 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#BA2D57 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2D57
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2D57#FFFFFF#000000##FFFFFF
##BA2D571.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515358
Deuteranopia (green-blind)
#766F54
Tritanopia (blue-blind)
#CB003F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2d57;
/* rgb */ color: rgb(186, 45, 87);
/* oklch */ color: oklch(53.0% 0.178 8.4);
Tailwind
colors: {
  custom: {
    50: '#d57386',
    500: '#ba2d57',
    950: '#000000',
  },
}
SCSS
$custom: #ba2d57;
$custom-light: #d57386;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2d57",
  "rgb": {
    "r": 186,
    "g": 45,
    "b": 87
  },
  "hsl": {
    "h": 342.128,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52959,
    "c": 0.1779,
    "h": 8.4
  },
  "luminance": 0.13004
}

Semantic roles & 50–950 ramp

primary
#BA2D57
secondary
#79C9B2
accent
#E4B444
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA2D57

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

Preview Lab → · Contrast checker → · Palette generator →

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