#BA479C#BA479C

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

Color values

HEX#BA479C
RGBrgb(186, 71, 156)
HSLhsl(316, 45%, 50%)
HSVhsv(316, 62%, 73%)
CMYKcmyk(0%, 61.8%, 16.1%, 27.1%)
CIE-LABlab(48.70, 55.82, -23.20)
CIE-LCHlch(48.70, 60.44, 337.43°)
OKLaboklab(58.08% 0.165 -0.0625)
OKLCHoklch(58.08% 0.176 339.3)
XYZxyz(28.5042, 17.3483, 33.2934)
Luminance0.1735 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA479C #47BA65
analogous
#9E47BA #BA479C #BA4762
triadic
#BA479C #9CBA47 #479CBA
tetradic
#BA479C #BA9E47 #47BA65 #4762BA
square
#BA479C #BA9E47 #47BA65 #4762BA
split-complementary
#BA479C #62BA47 #47BA9E
monochromatic
#622552 #8E3577 #BA479C #CB74B4 #DBA0CC

Accessibility & contrast

On white

4.70
#BA479C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#BA479C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA479C
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA479C#FFFFFF#000000##FFFFFF
##BA479C1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C689F
Deuteranopia (green-blind)
#6F7A99
Tritanopia (blue-blind)
#C44A6B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba479c;
/* rgb */ color: rgb(186, 71, 156);
/* oklch */ color: oklch(58.1% 0.176 339.3);
Tailwind
colors: {
  custom: {
    50: '#d281b9',
    500: '#ba479c',
    950: '#000000',
  },
}
SCSS
$custom: #ba479c;
$custom-light: #d281b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba479c",
  "rgb": {
    "r": 186,
    "g": 71,
    "b": 156
  },
  "hsl": {
    "h": 315.652,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5808,
    "c": 0.17648,
    "h": 339.3
  },
  "luminance": 0.17346
}

Semantic roles & 50–950 ramp

primary
#BA479C
secondary
#95C8A2
accent
#D57553
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA479C

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

Preview Lab → · Contrast checker → · Palette generator →

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