#BA4893#BA4893

#BA4893 is a mid, vivid pink. Relative luminance 0.172; OKLCH L 57.8% C 0.169 H 343.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#BA4893
RGBrgb(186, 72, 147)
HSLhsl(321, 45%, 51%)
HSVhsv(321, 61%, 73%)
CMYKcmyk(0%, 61.3%, 21%, 27.1%)
CIE-LABlab(48.49, 54.06, -18.15)
CIE-LCHlch(48.49, 57.03, 341.44°)
OKLaboklab(57.81% 0.1618 -0.0484)
OKLCHoklch(57.81% 0.169 343.4)
XYZxyz(27.8343, 17.1830, 29.4488)
Luminance0.1718 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4893 #48BA6F
analogous
#A848BA #BA4893 #BA485A
triadic
#BA4893 #93BA48 #4893BA
tetradic
#BA4893 #BAA848 #48BA6F #485ABA
square
#BA4893 #BAA848 #48BA6F #485ABA
split-complementary
#BA4893 #5ABA48 #48BAA8
monochromatic
#62254D #8F3670 #BA4893 #CB74AD #DCA1C7

Accessibility & contrast

On white

4.73
#BA4893 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#BA4893 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4893
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4893#FFFFFF#000000##FFFFFF
##BA48931.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516795
Deuteranopia (green-blind)
#727A90
Tritanopia (blue-blind)
#C54867
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba4893;
/* rgb */ color: rgb(186, 72, 147);
/* oklch */ color: oklch(57.8% 0.169 343.4);
Tailwind
colors: {
  custom: {
    50: '#d281b2',
    500: '#ba4893',
    950: '#000000',
  },
}
SCSS
$custom: #ba4893;
$custom-light: #d281b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4893",
  "rgb": {
    "r": 186,
    "g": 72,
    "b": 147
  },
  "hsl": {
    "h": 320.526,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57809,
    "c": 0.1689,
    "h": 343.4
  },
  "luminance": 0.1718
}

Semantic roles & 50–950 ramp

primary
#BA4893
secondary
#96C8A7
accent
#D57F53
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA4893

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

Preview Lab → · Contrast checker → · Palette generator →

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