#BA4B95#BA4B95

#BA4B95 is a mid, vivid pink. Relative luminance 0.176; OKLCH L 58.3% C 0.166 H 342.7°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#BA4B95
RGBrgb(186, 75, 149)
HSLhsl(320, 45%, 51%)
HSVhsv(320, 60%, 73%)
CMYKcmyk(0%, 59.7%, 19.9%, 27.1%)
CIE-LABlab(49.06, 53.01, -18.47)
CIE-LCHlch(49.06, 56.14, 340.79°)
OKLaboklab(58.26% 0.1582 -0.0493)
OKLCHoklch(58.26% 0.166 342.7)
XYZxyz(28.1913, 17.6437, 30.3488)
Luminance0.1764 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4B95 #4BBA70
analogous
#A74BBA #BA4B95 #BA4B5D
triadic
#BA4B95 #95BA4B #4B95BA
tetradic
#BA4B95 #BAA74B #4BBA70 #4B5DBA
square
#BA4B95 #BAA74B #4BBA70 #4B5DBA
split-complementary
#BA4B95 #5DBA4B #4BBAA7
monochromatic
#642650 #903773 #BA4B95 #CB77AF #DCA3C9

Accessibility & contrast

On white

4.64
#BA4B95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#BA4B95 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4B95
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4B95#FFFFFF#000000##FFFFFF
##BA4B951.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536997
Deuteranopia (green-blind)
#737B92
Tritanopia (blue-blind)
#C54C69
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba4b95;
/* rgb */ color: rgb(186, 75, 149);
/* oklch */ color: oklch(58.3% 0.166 342.7);
Tailwind
colors: {
  custom: {
    50: '#d283b4',
    500: '#ba4b95',
    950: '#000000',
  },
}
SCSS
$custom: #ba4b95;
$custom-light: #d283b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4b95",
  "rgb": {
    "r": 186,
    "g": 75,
    "b": 149
  },
  "hsl": {
    "h": 320,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58256,
    "c": 0.16574,
    "h": 342.7
  },
  "luminance": 0.17641
}

Semantic roles & 50–950 ramp

primary
#BA4B95
secondary
#98C9A8
accent
#D47E54
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA4B95

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

Preview Lab → · Contrast checker → · Palette generator →

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