#BA4971#BA4971

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

Color values

HEX#BA4971
RGBrgb(186, 73, 113)
HSLhsl(339, 45%, 51%)
HSVhsv(339, 61%, 73%)
CMYKcmyk(0%, 60.8%, 39.2%, 27.1%)
CIE-LABlab(47.49, 49.28, 0.87)
CIE-LCHlch(47.49, 49.29, 1.01°)
OKLaboklab(56.69% 0.1504 0.0029)
OKLCHoklch(56.69% 0.15 1.1)
XYZxyz(25.6145, 16.3993, 17.4360)
Luminance0.1640 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4971 #49BA92
analogous
#BA49A9 #BA4971 #BA5949
triadic
#BA4971 #71BA49 #4971BA
tetradic
#BA4971 #A9BA49 #49BA92 #5949BA
square
#BA4971 #A9BA49 #49BA92 #5949BA
split-complementary
#BA4971 #49BA59 #49A9BA
monochromatic
#63263B #8F3656 #BA4971 #CB7594 #DCA2B6

Accessibility & contrast

On white

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

On black

4.28
#BA4971 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA4971#FFFFFF#000000##FFFFFF
##BA49711.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba4971;
/* rgb */ color: rgb(186, 73, 113);
/* oklch */ color: oklch(56.7% 0.150 1.1);
Tailwind
colors: {
  custom: {
    50: '#d38199',
    500: '#ba4971',
    950: '#000000',
  },
}
SCSS
$custom: #ba4971;
$custom-light: #d38199;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4971",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 113
  },
  "hsl": {
    "h": 338.761,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5669,
    "c": 0.15044,
    "h": 1.1
  },
  "luminance": 0.16396
}

Semantic roles & 50–950 ramp

primary
#BA4971
secondary
#96C8B7
accent
#D5A753
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BA4971

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

Preview Lab → · Contrast checker → · Palette generator →

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