#BA4FA3#BA4FA3

#BA4FA3 is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.4% C 0.170 H 336.7°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#BA4FA3
RGBrgb(186, 79, 163)
HSLhsl(313, 44%, 52%)
HSVhsv(313, 58%, 73%)
CMYKcmyk(0%, 57.5%, 12.4%, 27.1%)
CIE-LABlab(50.31, 53.32, -24.85)
CIE-LCHlch(50.31, 58.82, 335.02°)
OKLaboklab(59.36% 0.1558 -0.0672)
OKLCHoklch(59.36% 0.17 336.7)
XYZxyz(29.6568, 18.6777, 36.6864)
Luminance0.1867 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4FA3 #4FBA66
analogous
#9B4FBA #BA4FA3 #BA4F6E
triadic
#BA4FA3 #A3BA4F #4FA3BA
tetradic
#BA4FA3 #BA9B4F #4FBA66 #4F6EBA
square
#BA4FA3 #BA9B4F #4FBA66 #4F6EBA
split-complementary
#BA4FA3 #6EBA4F #4FBA9B
monochromatic
#662859 #92397F #BA4FA3 #CB7BBA #DCA7D1

Accessibility & contrast

On white

4.44
#BA4FA3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#BA4FA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4FA3
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4FA3#FFFFFF#000000##000000
##BA4FA31.004.444.744.74
#FFFFFF4.441.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#516DA6
Deuteranopia (green-blind)
#717EA0
Tritanopia (blue-blind)
#C35472
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba4fa3;
/* rgb */ color: rgb(186, 79, 163);
/* oklch */ color: oklch(59.4% 0.170 336.7);
Tailwind
colors: {
  custom: {
    50: '#d186be',
    500: '#ba4fa3',
    950: '#000000',
  },
}
SCSS
$custom: #ba4fa3;
$custom-light: #d186be;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4fa3",
  "rgb": {
    "r": 186,
    "g": 79,
    "b": 163
  },
  "hsl": {
    "h": 312.897,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59362,
    "c": 0.16965,
    "h": 336.7
  },
  "luminance": 0.18675
}

Semantic roles & 50–950 ramp

primary
#BA4FA3
secondary
#9BCAA5
accent
#D37054
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #BA4FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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