#BA458C#BA458C

#BA458C is a mid, vivid pink. Relative luminance 0.166; OKLCH L 57.2% C 0.169 H 346.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#BA458C
RGBrgb(186, 69, 140)
HSLhsl(324, 46%, 50%)
HSVhsv(324, 63%, 73%)
CMYKcmyk(0%, 62.9%, 24.7%, 27.1%)
CIE-LABlab(47.74, 54.39, -15.10)
CIE-LCHlch(47.74, 56.45, 344.49°)
OKLaboklab(57.17% 0.1641 -0.0399)
OKLCHoklch(57.17% 0.169 346.3)
XYZxyz(27.1124, 16.5914, 26.5804)
Luminance0.1659 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA458C #45BA73
analogous
#AE45BA #BA458C #BA4551
triadic
#BA458C #8CBA45 #458CBA
tetradic
#BA458C #BAAE45 #45BA73 #4551BA
square
#BA458C #BAAE45 #45BA73 #4551BA
split-complementary
#BA458C #51BA45 #45BAAE
monochromatic
#612449 #8D346A #BA458C #CB72A8 #DB9EC3

Accessibility & contrast

On white

4.86
#BA458C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#BA458C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA458C
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA458C#FFFFFF#000000##FFFFFF
##BA458C1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52658E
Deuteranopia (green-blind)
#737989
Tritanopia (blue-blind)
#C64362
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba458c;
/* rgb */ color: rgb(186, 69, 140);
/* oklch */ color: oklch(57.2% 0.169 346.3);
Tailwind
colors: {
  custom: {
    50: '#d280ad',
    500: '#ba458c',
    950: '#000000',
  },
}
SCSS
$custom: #ba458c;
$custom-light: #d280ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ba458c",
  "rgb": {
    "r": 186,
    "g": 69,
    "b": 140
  },
  "hsl": {
    "h": 323.59,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.57169,
    "c": 0.1689,
    "h": 346.3
  },
  "luminance": 0.16589
}

Semantic roles & 50–950 ramp

primary
#BA458C
secondary
#93C8A8
accent
#D68652
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #BA458C

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

Preview Lab → · Contrast checker → · Palette generator →

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