#BA4FA0#BA4FA0

#BA4FA0 is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.2% C 0.167 H 338.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#BA4FA0
RGBrgb(186, 79, 160)
HSLhsl(315, 44%, 52%)
HSVhsv(315, 58%, 73%)
CMYKcmyk(0%, 57.5%, 14%, 27.1%)
CIE-LABlab(50.18, 52.85, -23.27)
CIE-LCHlch(50.18, 57.74, 336.23°)
OKLaboklab(59.23% 0.1552 -0.0628)
OKLCHoklch(59.23% 0.167 338)
XYZxyz(29.3912, 18.5715, 35.2876)
Luminance0.1857 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4FA0 #4FBA69
analogous
#9E4FBA #BA4FA0 #BA4F6B
triadic
#BA4FA0 #A0BA4F #4FA0BA
tetradic
#BA4FA0 #BA9E4F #4FBA69 #4F6BBA
square
#BA4FA0 #BA9E4F #4FBA69 #4F6BBA
split-complementary
#BA4FA0 #6BBA4F #4FBA9E
monochromatic
#662857 #92397D #BA4FA0 #CB7BB8 #DCA7CF

Accessibility & contrast

On white

4.46
#BA4FA0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#BA4FA0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4FA0
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4FA0#FFFFFF#000000##000000
##BA4FA01.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#526DA3
Deuteranopia (green-blind)
#727D9D
Tritanopia (blue-blind)
#C35370
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba4fa0;
/* rgb */ color: rgb(186, 79, 160);
/* oklch */ color: oklch(59.2% 0.167 338.0);
Tailwind
colors: {
  custom: {
    50: '#d186bc',
    500: '#ba4fa0',
    950: '#000000',
  },
}
SCSS
$custom: #ba4fa0;
$custom-light: #d186bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4fa0",
  "rgb": {
    "r": 186,
    "g": 79,
    "b": 160
  },
  "hsl": {
    "h": 314.579,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59228,
    "c": 0.1674,
    "h": 338
  },
  "luminance": 0.18569
}

Semantic roles & 50–950 ramp

primary
#BA4FA0
secondary
#9BCAA6
accent
#D37354
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #BA4FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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