#BA4BA3#BA4BA3

#BA4BA3 is a mid, vivid pink. Relative luminance 0.181; OKLCH L 58.9% C 0.176 H 336.5°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#BA4BA3
RGBrgb(186, 75, 163)
HSLhsl(312, 45%, 51%)
HSVhsv(312, 60%, 73%)
CMYKcmyk(0%, 59.7%, 12.4%, 27.1%)
CIE-LABlab(49.64, 55.13, -25.88)
CIE-LCHlch(49.64, 60.91, 334.85°)
OKLaboklab(58.87% 0.1611 -0.0701)
OKLCHoklch(58.87% 0.176 336.5)
XYZxyz(29.3769, 18.1179, 36.5931)
Luminance0.1812 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4BA3 #4BBA62
analogous
#994BBA #BA4BA3 #BA4B6B
triadic
#BA4BA3 #A3BA4B #4BA3BA
tetradic
#BA4BA3 #BA994B #4BBA62 #4B6BBA
square
#BA4BA3 #BA994B #4BBA62 #4B6BBA
split-complementary
#BA4BA3 #6BBA4B #4BBA99
monochromatic
#642657 #90377E #BA4BA3 #CB77BA #DCA3D0

Accessibility & contrast

On white

4.54
#BA4BA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#BA4BA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4BA3
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4BA3#FFFFFF#000000##000000
##BA4BA31.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6BA6
Deuteranopia (green-blind)
#6E7CA0
Tritanopia (blue-blind)
#C35070
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba4ba3;
/* rgb */ color: rgb(186, 75, 163);
/* oklch */ color: oklch(58.9% 0.176 336.5);
Tailwind
colors: {
  custom: {
    50: '#d283be',
    500: '#ba4ba3',
    950: '#000000',
  },
}
SCSS
$custom: #ba4ba3;
$custom-light: #d283be;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4ba3",
  "rgb": {
    "r": 186,
    "g": 75,
    "b": 163
  },
  "hsl": {
    "h": 312.432,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5887,
    "c": 0.17572,
    "h": 336.5
  },
  "luminance": 0.18116
}

Semantic roles & 50–950 ramp

primary
#BA4BA3
secondary
#98C9A2
accent
#D46E54
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #BA4BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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