#BA457D#BA457D

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

Color values

HEX#BA457D
RGBrgb(186, 69, 125)
HSLhsl(331, 46%, 50%)
HSVhsv(331, 63%, 73%)
CMYKcmyk(0%, 62.9%, 32.8%, 27.1%)
CIE-LABlab(47.21, 52.46, -6.84)
CIE-LCHlch(47.21, 52.91, 352.57°)
OKLaboklab(56.6% 0.1599 -0.0174)
OKLCHoklch(56.6% 0.161 353.8)
XYZxyz(26.0808, 16.1788, 21.1474)
Luminance0.1618 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA457D #45BA82
analogous
#BA45B7 #BA457D #BA4845
triadic
#BA457D #7DBA45 #457DBA
tetradic
#BA457D #B7BA45 #45BA82 #4845BA
square
#BA457D #B7BA45 #45BA82 #4845BA
split-complementary
#BA457D #45BA48 #45B7BA
monochromatic
#612441 #8D345F #BA457D #CB729C #DB9EBB

Accessibility & contrast

On white

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

On black

4.24
#BA457D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA457D#FFFFFF#000000##FFFFFF
##BA457D1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57627F
Deuteranopia (green-blind)
#77787A
Tritanopia (blue-blind)
#C83D5B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba457d;
/* rgb */ color: rgb(186, 69, 125);
/* oklch */ color: oklch(56.6% 0.161 353.8);
Tailwind
colors: {
  custom: {
    50: '#d37fa2',
    500: '#ba457d',
    950: '#000000',
  },
}
SCSS
$custom: #ba457d;
$custom-light: #d37fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba457d",
  "rgb": {
    "r": 186,
    "g": 69,
    "b": 125
  },
  "hsl": {
    "h": 331.282,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.566,
    "c": 0.16089,
    "h": 353.8
  },
  "luminance": 0.16176
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA457D

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

Preview Lab → · Contrast checker → · Palette generator →

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