#BA2A57#BA2A57

#BA2A57 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.7% C 0.181 H 7.9°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#BA2A57
RGBrgb(186, 42, 87)
HSLhsl(341, 63%, 45%)
HSVhsv(341, 77%, 73%)
CMYKcmyk(0%, 77.4%, 53.2%, 27.1%)
CIE-LABlab(42.44, 58.78, 9.68)
CIE-LCHlch(42.44, 59.57, 9.35°)
OKLaboklab(52.71% 0.179 0.0248)
OKLCHoklch(52.71% 0.181 7.9)
XYZxyz(22.8001, 12.7864, 10.2824)
Luminance0.1278 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2A57 #2ABA8D
analogous
#BA2A9F #BA2A57 #BA452A
triadic
#BA2A57 #57BA2A #2A57BA
tetradic
#BA2A57 #9FBA2A #2ABA8D #452ABA
square
#BA2A57 #9FBA2A #2ABA8D #452ABA
split-complementary
#BA2A57 #2ABA45 #2A9FBA
monochromatic
#561328 #881F40 #BA2A57 #D64B76 #E27D9C

Accessibility & contrast

On white

5.90
#BA2A57 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#BA2A57 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2A57
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2A57#FFFFFF#000000##FFFFFF
##BA2A571.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505258
Deuteranopia (green-blind)
#756F53
Tritanopia (blue-blind)
#CB003D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2a57;
/* rgb */ color: rgb(186, 42, 87);
/* oklch */ color: oklch(52.7% 0.181 7.9);
Tailwind
colors: {
  custom: {
    50: '#d57186',
    500: '#ba2a57',
    950: '#000000',
  },
}
SCSS
$custom: #ba2a57;
$custom-light: #d57186;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2a57",
  "rgb": {
    "r": 186,
    "g": 42,
    "b": 87
  },
  "hsl": {
    "h": 341.25,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52712,
    "c": 0.18073,
    "h": 7.9
  },
  "luminance": 0.12783
}

Semantic roles & 50–950 ramp

primary
#BA2A57
secondary
#76CAB0
accent
#E6B342
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA2A57

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

Preview Lab → · Contrast checker → · Palette generator →

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