#BA4BA2#BA4BA2

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

Color values

HEX#BA4BA2
RGBrgb(186, 75, 162)
HSLhsl(313, 45%, 51%)
HSVhsv(313, 60%, 73%)
CMYKcmyk(0%, 59.7%, 12.9%, 27.1%)
CIE-LABlab(49.60, 54.98, -25.36)
CIE-LCHlch(49.60, 60.54, 335.24°)
OKLaboklab(58.83% 0.1609 -0.0687)
OKLCHoklch(58.83% 0.175 336.9)
XYZxyz(29.2877, 18.0822, 36.1231)
Luminance0.1808 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4BA2 #4BBA63
analogous
#9A4BBA #BA4BA2 #BA4B6A
triadic
#BA4BA2 #A2BA4B #4BA2BA
tetradic
#BA4BA2 #BA9A4B #4BBA63 #4B6ABA
square
#BA4BA2 #BA9A4B #4BBA63 #4B6ABA
split-complementary
#BA4BA2 #6ABA4B #4BBA9A
monochromatic
#642657 #90377D #BA4BA2 #CB77B9 #DCA3D0

Accessibility & contrast

On white

4.55
#BA4BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA4BA2#FFFFFF#000000##000000
##BA4BA21.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba4ba2;
/* rgb */ color: rgb(186, 75, 162);
/* oklch */ color: oklch(58.8% 0.175 336.9);
Tailwind
colors: {
  custom: {
    50: '#d283bd',
    500: '#ba4ba2',
    950: '#000000',
  },
}
SCSS
$custom: #ba4ba2;
$custom-light: #d283bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4ba2",
  "rgb": {
    "r": 186,
    "g": 75,
    "b": 162
  },
  "hsl": {
    "h": 312.973,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58825,
    "c": 0.17496,
    "h": 336.9
  },
  "luminance": 0.1808
}

Semantic roles & 50–950 ramp

primary
#BA4BA2
secondary
#98C9A2
accent
#D46F54
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #BA4BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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