#BA457C#BA457C

#BA457C is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.6% C 0.160 H 354.3°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#BA457C
RGBrgb(186, 69, 124)
HSLhsl(332, 46%, 50%)
HSVhsv(332, 63%, 73%)
CMYKcmyk(0%, 62.9%, 33.3%, 27.1%)
CIE-LABlab(47.18, 52.34, -6.29)
CIE-LCHlch(47.18, 52.72, 353.15°)
OKLaboklab(56.57% 0.1596 -0.0159)
OKLCHoklch(56.57% 0.16 354.3)
XYZxyz(26.0173, 16.1534, 20.8126)
Luminance0.1615 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA457C #45BA83
analogous
#BA45B6 #BA457C #BA4945
triadic
#BA457C #7CBA45 #457CBA
tetradic
#BA457C #B6BA45 #45BA83 #4945BA
square
#BA457C #B6BA45 #45BA83 #4945BA
split-complementary
#BA457C #45BA49 #45B6BA
monochromatic
#612440 #8D345E #BA457C #CB729B #DB9EBB

Accessibility & contrast

On white

4.96
#BA457C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#BA457C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA457C
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA457C#FFFFFF#000000##FFFFFF
##BA457C1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57627E
Deuteranopia (green-blind)
#777879
Tritanopia (blue-blind)
#C83D5B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba457c;
/* rgb */ color: rgb(186, 69, 124);
/* oklch */ color: oklch(56.6% 0.160 354.3);
Tailwind
colors: {
  custom: {
    50: '#d37fa1',
    500: '#ba457c',
    950: '#000000',
  },
}
SCSS
$custom: #ba457c;
$custom-light: #d37fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba457c",
  "rgb": {
    "r": 186,
    "g": 69,
    "b": 124
  },
  "hsl": {
    "h": 331.795,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.56565,
    "c": 0.16042,
    "h": 354.3
  },
  "luminance": 0.16151
}

Semantic roles & 50–950 ramp

primary
#BA457C
secondary
#93C8AF
accent
#D69852
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0F
muted
#837C7E

Preview Lab

Preview with #BA457C

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

Preview Lab → · Contrast checker → · Palette generator →

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