#BA4770#BA4770

#BA4770 is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.4% C 0.153 H 1.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#BA4770
RGBrgb(186, 71, 112)
HSLhsl(339, 45%, 50%)
HSVhsv(339, 62%, 73%)
CMYKcmyk(0%, 61.8%, 39.8%, 27.1%)
CIE-LABlab(47.13, 50.07, 0.94)
CIE-LCHlch(47.13, 50.08, 1.08°)
OKLaboklab(56.41% 0.1529 0.0031)
OKLCHoklch(56.41% 0.153 1.1)
XYZxyz(25.4292, 16.1183, 17.0981)
Luminance0.1611 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4770 #47BA91
analogous
#BA47A9 #BA4770 #BA5747
triadic
#BA4770 #70BA47 #4770BA
tetradic
#BA4770 #A9BA47 #47BA91 #5747BA
square
#BA4770 #A9BA47 #47BA91 #5747BA
split-complementary
#BA4770 #47BA57 #47A9BA
monochromatic
#62253B #8E3555 #BA4770 #CB7493 #DBA0B5

Accessibility & contrast

On white

4.97
#BA4770 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#BA4770 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4770
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4770#FFFFFF#000000##FFFFFF
##BA47701.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6271
Deuteranopia (green-blind)
#7B786D
Tritanopia (blue-blind)
#C93B57
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba4770;
/* rgb */ color: rgb(186, 71, 112);
/* oklch */ color: oklch(56.4% 0.153 1.1);
Tailwind
colors: {
  custom: {
    50: '#d38098',
    500: '#ba4770',
    950: '#000000',
  },
}
SCSS
$custom: #ba4770;
$custom-light: #d38098;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4770",
  "rgb": {
    "r": 186,
    "g": 71,
    "b": 112
  },
  "hsl": {
    "h": 338.609,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56408,
    "c": 0.15292,
    "h": 1.1
  },
  "luminance": 0.16115
}

Semantic roles & 50–950 ramp

primary
#BA4770
secondary
#95C8B6
accent
#D5A753
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150B0D
muted
#837C7E

Preview Lab

Preview with #BA4770

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

Preview Lab → · Contrast checker → · Palette generator →

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