#BA4970#BA4970

#BA4970 is a mid, vivid pink. Relative luminance 0.164; OKLCH L 56.7% C 0.150 H 1.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#BA4970
RGBrgb(186, 73, 112)
HSLhsl(339, 45%, 51%)
HSVhsv(339, 61%, 73%)
CMYKcmyk(0%, 60.8%, 39.8%, 27.1%)
CIE-LABlab(47.47, 49.17, 1.43)
CIE-LCHlch(47.47, 49.19, 1.67°)
OKLaboklab(56.66% 0.1501 0.0043)
OKLCHoklch(56.66% 0.15 1.6)
XYZxyz(25.5585, 16.3769, 17.1412)
Luminance0.1637 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4970 #49BA93
analogous
#BA49A8 #BA4970 #BA5A49
triadic
#BA4970 #70BA49 #4970BA
tetradic
#BA4970 #A8BA49 #49BA93 #5A49BA
square
#BA4970 #A8BA49 #49BA93 #5A49BA
split-complementary
#BA4970 #49BA5A #49A8BA
monochromatic
#63263B #8F3655 #BA4970 #CB7593 #DCA2B6

Accessibility & contrast

On white

4.91
#BA4970 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#BA4970 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4970
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4970#FFFFFF#000000##FFFFFF
##BA49701.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6371
Deuteranopia (green-blind)
#7C796D
Tritanopia (blue-blind)
#C93E58
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba4970;
/* rgb */ color: rgb(186, 73, 112);
/* oklch */ color: oklch(56.7% 0.150 1.6);
Tailwind
colors: {
  custom: {
    50: '#d38198',
    500: '#ba4970',
    950: '#000000',
  },
}
SCSS
$custom: #ba4970;
$custom-light: #d38198;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4970",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 112
  },
  "hsl": {
    "h": 339.292,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56659,
    "c": 0.15012,
    "h": 1.6
  },
  "luminance": 0.16374
}

Semantic roles & 50–950 ramp

primary
#BA4970
secondary
#96C8B7
accent
#D5A853
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150B0D
muted
#837C7E

Preview Lab

Preview with #BA4970

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

Preview Lab → · Contrast checker → · Palette generator →

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