#BA5472#BA5472

#BA5472 is a mid, vivid pink. Relative luminance 0.180; OKLCH L 58.2% C 0.135 H 3.7°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#BA5472
RGBrgb(186, 84, 114)
HSLhsl(342, 43%, 53%)
HSVhsv(342, 55%, 73%)
CMYKcmyk(0%, 54.8%, 38.7%, 27.1%)
CIE-LABlab(49.49, 44.18, 3.16)
CIE-LCHlch(49.49, 44.29, 4.09°)
OKLaboklab(58.19% 0.1345 0.0087)
OKLCHoklch(58.19% 0.135 3.7)
XYZxyz(26.4588, 17.9974, 17.9967)
Luminance0.1799 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5472 #54BA9C
analogous
#BA54A5 #BA5472 #BA6954
triadic
#BA5472 #72BA54 #5472BA
tetradic
#BA5472 #A5BA54 #54BA9C #6954BA
square
#BA5472 #A5BA54 #54BA9C #6954BA
split-complementary
#BA5472 #54BA69 #54A5BA
monochromatic
#692A3D #953C56 #BA5472 #CC8096 #DDABBA

Accessibility & contrast

On white

4.57
#BA5472 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#BA5472 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5472
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5472#FFFFFF#000000##000000
##BA54721.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#666973
Deuteranopia (green-blind)
#817D70
Tritanopia (blue-blind)
#C84A5F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba5472;
/* rgb */ color: rgb(186, 84, 114);
/* oklch */ color: oklch(58.2% 0.135 3.7);
Tailwind
colors: {
  custom: {
    50: '#d2889a',
    500: '#ba5472',
    950: '#000000',
  },
}
SCSS
$custom: #ba5472;
$custom-light: #d2889a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5472",
  "rgb": {
    "r": 186,
    "g": 84,
    "b": 114
  },
  "hsl": {
    "h": 342.353,
    "s": 42.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58194,
    "c": 0.13474,
    "h": 3.7
  },
  "luminance": 0.17995
}

Semantic roles & 50–950 ramp

primary
#BA5472
secondary
#9FCBBE
accent
#D2AE56
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#150C0E
muted
#837D7E

Preview Lab

Preview with #BA5472

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

Preview Lab → · Contrast checker → · Palette generator →

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