#BA458D#BA458D

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

Color values

HEX#BA458D
RGBrgb(186, 69, 141)
HSLhsl(323, 46%, 50%)
HSVhsv(323, 63%, 73%)
CMYKcmyk(0%, 62.9%, 24.2%, 27.1%)
CIE-LABlab(47.78, 54.53, -15.64)
CIE-LCHlch(47.78, 56.73, 344.00°)
OKLaboklab(57.21% 0.1644 -0.0414)
OKLCHoklch(57.21% 0.17 345.9)
XYZxyz(27.1865, 16.6211, 26.9705)
Luminance0.1662 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA458D #45BA72
analogous
#AC45BA #BA458D #BA4553
triadic
#BA458D #8DBA45 #458DBA
tetradic
#BA458D #BAAC45 #45BA72 #4553BA
square
#BA458D #BAAC45 #45BA72 #4553BA
split-complementary
#BA458D #53BA45 #45BAAC
monochromatic
#612449 #8D346B #BA458D #CB72A8 #DB9EC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA458D#FFFFFF#000000##FFFFFF
##BA458D1.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)
#51658F
Deuteranopia (green-blind)
#73798A
Tritanopia (blue-blind)
#C64363
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba458d;
/* rgb */ color: rgb(186, 69, 141);
/* oklch */ color: oklch(57.2% 0.170 345.9);
Tailwind
colors: {
  custom: {
    50: '#d280ae',
    500: '#ba458d',
    950: '#000000',
  },
}
SCSS
$custom: #ba458d;
$custom-light: #d280ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ba458d",
  "rgb": {
    "r": 186,
    "g": 69,
    "b": 141
  },
  "hsl": {
    "h": 323.077,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.57209,
    "c": 0.1695,
    "h": 345.9
  },
  "luminance": 0.16618
}

Semantic roles & 50–950 ramp

primary
#BA458D
secondary
#93C8A7
accent
#D68552
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #BA458D

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

Preview Lab → · Contrast checker → · Palette generator →

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