#BA4895#BA4895

#BA4895 is a mid, vivid pink. Relative luminance 0.172; OKLCH L 57.9% C 0.170 H 342.4°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#BA4895
RGBrgb(186, 72, 149)
HSLhsl(319, 45%, 51%)
HSVhsv(319, 61%, 73%)
CMYKcmyk(0%, 61.3%, 19.9%, 27.1%)
CIE-LABlab(48.57, 54.35, -19.22)
CIE-LCHlch(48.57, 57.65, 340.52°)
OKLaboklab(57.89% 0.1623 -0.0514)
OKLCHoklch(57.89% 0.17 342.4)
XYZxyz(27.9926, 17.2463, 30.2825)
Luminance0.1724 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4895 #48BA6D
analogous
#A648BA #BA4895 #BA485C
triadic
#BA4895 #95BA48 #4895BA
tetradic
#BA4895 #BAA648 #48BA6D #485CBA
square
#BA4895 #BAA648 #48BA6D #485CBA
split-complementary
#BA4895 #5CBA48 #48BAA6
monochromatic
#62254F #8F3672 #BA4895 #CB74AF #DCA1C8

Accessibility & contrast

On white

4.72
#BA4895 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#BA4895 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4895
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4895#FFFFFF#000000##FFFFFF
##BA48951.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516797
Deuteranopia (green-blind)
#727A92
Tritanopia (blue-blind)
#C54968
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba4895;
/* rgb */ color: rgb(186, 72, 149);
/* oklch */ color: oklch(57.9% 0.170 342.4);
Tailwind
colors: {
  custom: {
    50: '#d281b4',
    500: '#ba4895',
    950: '#000000',
  },
}
SCSS
$custom: #ba4895;
$custom-light: #d281b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4895",
  "rgb": {
    "r": 186,
    "g": 72,
    "b": 149
  },
  "hsl": {
    "h": 319.474,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57893,
    "c": 0.17022,
    "h": 342.4
  },
  "luminance": 0.17244
}

Semantic roles & 50–950 ramp

primary
#BA4895
secondary
#96C8A6
accent
#D57D53
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA4895

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

Preview Lab → · Contrast checker → · Palette generator →

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