#BA458B#BA458B

#BA458B is a mid, vivid pink. Relative luminance 0.166; OKLCH L 57.1% C 0.168 H 346.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#BA458B
RGBrgb(186, 69, 139)
HSLhsl(324, 46%, 50%)
HSVhsv(324, 63%, 73%)
CMYKcmyk(0%, 62.9%, 25.3%, 27.1%)
CIE-LABlab(47.70, 54.26, -14.55)
CIE-LCHlch(47.70, 56.18, 344.98°)
OKLaboklab(57.13% 0.1639 -0.0384)
OKLCHoklch(57.13% 0.168 346.8)
XYZxyz(27.0390, 16.5621, 26.1939)
Luminance0.1656 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA458B #45BA74
analogous
#AF45BA #BA458B #BA4550
triadic
#BA458B #8BBA45 #458BBA
tetradic
#BA458B #BAAF45 #45BA74 #4550BA
square
#BA458B #BAAF45 #45BA74 #4550BA
split-complementary
#BA458B #50BA45 #45BAAF
monochromatic
#612448 #8D346A #BA458B #CB72A7 #DB9EC3

Accessibility & contrast

On white

4.87
#BA458B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#BA458B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA458B
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA458B#FFFFFF#000000##FFFFFF
##BA458B1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52648D
Deuteranopia (green-blind)
#737988
Tritanopia (blue-blind)
#C64262
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba458b;
/* rgb */ color: rgb(186, 69, 139);
/* oklch */ color: oklch(57.1% 0.168 346.8);
Tailwind
colors: {
  custom: {
    50: '#d280ad',
    500: '#ba458b',
    950: '#000000',
  },
}
SCSS
$custom: #ba458b;
$custom-light: #d280ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ba458b",
  "rgb": {
    "r": 186,
    "g": 69,
    "b": 139
  },
  "hsl": {
    "h": 324.103,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.57128,
    "c": 0.16831,
    "h": 346.8
  },
  "luminance": 0.16559
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA458B

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

Preview Lab → · Contrast checker → · Palette generator →

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