#BA479B#BA479B

#BA479B is a mid, vivid pink. Relative luminance 0.173; OKLCH L 58.0% C 0.176 H 339.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#BA479B
RGBrgb(186, 71, 155)
HSLhsl(316, 45%, 50%)
HSVhsv(316, 62%, 73%)
CMYKcmyk(0%, 61.8%, 16.7%, 27.1%)
CIE-LABlab(48.65, 55.67, -22.67)
CIE-LCHlch(48.65, 60.10, 337.85°)
OKLaboklab(58.04% 0.1649 -0.061)
OKLCHoklch(58.04% 0.176 339.7)
XYZxyz(28.4199, 17.3146, 32.8493)
Luminance0.1731 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA479B #47BA66
analogous
#A047BA #BA479B #BA4761
triadic
#BA479B #9BBA47 #479BBA
tetradic
#BA479B #BAA047 #47BA66 #4761BA
square
#BA479B #BAA047 #47BA66 #4761BA
split-complementary
#BA479B #61BA47 #47BAA0
monochromatic
#622551 #8E3576 #BA479B #CB74B3 #DBA0CB

Accessibility & contrast

On white

4.71
#BA479B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#BA479B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA479B
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA479B#FFFFFF#000000##FFFFFF
##BA479B1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D689E
Deuteranopia (green-blind)
#6F7A98
Tritanopia (blue-blind)
#C44A6A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba479b;
/* rgb */ color: rgb(186, 71, 155);
/* oklch */ color: oklch(58.0% 0.176 339.7);
Tailwind
colors: {
  custom: {
    50: '#d281b8',
    500: '#ba479b',
    950: '#000000',
  },
}
SCSS
$custom: #ba479b;
$custom-light: #d281b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba479b",
  "rgb": {
    "r": 186,
    "g": 71,
    "b": 155
  },
  "hsl": {
    "h": 316.174,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58036,
    "c": 0.17578,
    "h": 339.7
  },
  "luminance": 0.17312
}

Semantic roles & 50–950 ramp

primary
#BA479B
secondary
#95C8A3
accent
#D57653
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA479B

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

Preview Lab → · Contrast checker → · Palette generator →

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