#BA457A#BA457A

#BA457A is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.5% C 0.160 H 355.3°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#BA457A
RGBrgb(186, 69, 122)
HSLhsl(333, 46%, 50%)
HSVhsv(333, 63%, 73%)
CMYKcmyk(0%, 62.9%, 34.4%, 27.1%)
CIE-LABlab(47.11, 52.10, -5.17)
CIE-LCHlch(47.11, 52.36, 354.33°)
OKLaboklab(56.5% 0.159 -0.013)
OKLCHoklch(56.5% 0.16 355.3)
XYZxyz(25.8921, 16.1033, 20.1533)
Luminance0.1610 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA457A #45BA85
analogous
#BA45B4 #BA457A #BA4B45
triadic
#BA457A #7ABA45 #457ABA
tetradic
#BA457A #B4BA45 #45BA85 #4B45BA
square
#BA457A #B4BA45 #45BA85 #4B45BA
split-complementary
#BA457A #45BA4B #45B4BA
monochromatic
#61243F #8D345D #BA457A #CB729A #DB9EBA

Accessibility & contrast

On white

4.98
#BA457A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#BA457A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA457A
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA457A#FFFFFF#000000##FFFFFF
##BA457A1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58627C
Deuteranopia (green-blind)
#787877
Tritanopia (blue-blind)
#C83C5A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba457a;
/* rgb */ color: rgb(186, 69, 122);
/* oklch */ color: oklch(56.5% 0.160 355.3);
Tailwind
colors: {
  custom: {
    50: '#d37fa0',
    500: '#ba457a',
    950: '#000000',
  },
}
SCSS
$custom: #ba457a;
$custom-light: #d37fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba457a",
  "rgb": {
    "r": 186,
    "g": 69,
    "b": 122
  },
  "hsl": {
    "h": 332.821,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.56495,
    "c": 0.15954,
    "h": 355.3
  },
  "luminance": 0.161
}

Semantic roles & 50–950 ramp

primary
#BA457A
secondary
#93C8B0
accent
#D69A52
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BA457A

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

Preview Lab → · Contrast checker → · Palette generator →

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