#BA4794#BA4794

#BA4794 is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.7% C 0.171 H 342.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#BA4794
RGBrgb(186, 71, 148)
HSLhsl(320, 45%, 50%)
HSVhsv(320, 62%, 73%)
CMYKcmyk(0%, 61.8%, 20.4%, 27.1%)
CIE-LABlab(48.37, 54.64, -18.93)
CIE-LCHlch(48.37, 57.83, 340.89°)
OKLaboklab(57.73% 0.1634 -0.0506)
OKLCHoklch(57.73% 0.171 342.8)
XYZxyz(27.8490, 17.0862, 29.8425)
Luminance0.1708 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4794 #47BA6D
analogous
#A647BA #BA4794 #BA475A
triadic
#BA4794 #94BA47 #4794BA
tetradic
#BA4794 #BAA647 #47BA6D #475ABA
square
#BA4794 #BAA647 #47BA6D #475ABA
split-complementary
#BA4794 #5ABA47 #47BAA6
monochromatic
#62254E #8E3571 #BA4794 #CB74AE #DBA0C8

Accessibility & contrast

On white

4.75
#BA4794 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#BA4794 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4794
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4794#FFFFFF#000000##FFFFFF
##BA47941.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506796
Deuteranopia (green-blind)
#727A91
Tritanopia (blue-blind)
#C54767
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba4794;
/* rgb */ color: rgb(186, 71, 148);
/* oklch */ color: oklch(57.7% 0.171 342.8);
Tailwind
colors: {
  custom: {
    50: '#d281b3',
    500: '#ba4794',
    950: '#000000',
  },
}
SCSS
$custom: #ba4794;
$custom-light: #d281b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4794",
  "rgb": {
    "r": 186,
    "g": 71,
    "b": 148
  },
  "hsl": {
    "h": 319.826,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57732,
    "c": 0.17102,
    "h": 342.8
  },
  "luminance": 0.17084
}

Semantic roles & 50–950 ramp

primary
#BA4794
secondary
#95C8A6
accent
#D57E53
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA4794

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

Preview Lab → · Contrast checker → · Palette generator →

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