#BA4A93#BA4A93

#BA4A93 is a mid, vivid pink. Relative luminance 0.174; OKLCH L 58.1% C 0.166 H 343.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#BA4A93
RGBrgb(186, 74, 147)
HSLhsl(321, 45%, 51%)
HSVhsv(321, 60%, 73%)
CMYKcmyk(0%, 60.2%, 21%, 27.1%)
CIE-LABlab(48.82, 53.17, -17.65)
CIE-LCHlch(48.82, 56.03, 341.64°)
OKLaboklab(58.05% 0.1591 -0.047)
OKLCHoklch(58.05% 0.166 343.5)
XYZxyz(27.9657, 17.4458, 29.4926)
Luminance0.1744 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4A93 #4ABA71
analogous
#A94ABA #BA4A93 #BA4A5B
triadic
#BA4A93 #93BA4A #4A93BA
tetradic
#BA4A93 #BAA94A #4ABA71 #4A5BBA
square
#BA4A93 #BAA94A #4ABA71 #4A5BBA
split-complementary
#BA4A93 #5BBA4A #4ABAA9
monochromatic
#64264E #903771 #BA4A93 #CB76AD #DCA3C8

Accessibility & contrast

On white

4.68
#BA4A93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#BA4A93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4A93
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4A93#FFFFFF#000000##FFFFFF
##BA4A931.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536895
Deuteranopia (green-blind)
#737B90
Tritanopia (blue-blind)
#C54A68
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba4a93;
/* rgb */ color: rgb(186, 74, 147);
/* oklch */ color: oklch(58.1% 0.166 343.5);
Tailwind
colors: {
  custom: {
    50: '#d283b2',
    500: '#ba4a93',
    950: '#000000',
  },
}
SCSS
$custom: #ba4a93;
$custom-light: #d283b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4a93",
  "rgb": {
    "r": 186,
    "g": 74,
    "b": 147
  },
  "hsl": {
    "h": 320.893,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5805,
    "c": 0.16593,
    "h": 343.5
  },
  "luminance": 0.17443
}

Semantic roles & 50–950 ramp

primary
#BA4A93
secondary
#97C9A8
accent
#D58053
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA4A93

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

Preview Lab → · Contrast checker → · Palette generator →

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