#BA4E95#BA4E95

#BA4E95 is a mid, vivid pink. Relative luminance 0.181; OKLCH L 58.6% C 0.161 H 343.0°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#BA4E95
RGBrgb(186, 78, 149)
HSLhsl(321, 44%, 52%)
HSVhsv(321, 58%, 73%)
CMYKcmyk(0%, 58.1%, 19.9%, 27.1%)
CIE-LABlab(49.57, 51.64, -17.69)
CIE-LCHlch(49.57, 54.59, 341.09°)
OKLaboklab(58.63% 0.1541 -0.0472)
OKLCHoklch(58.63% 0.161 343)
XYZxyz(28.3996, 18.0603, 30.4182)
Luminance0.1806 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4E95 #4EBA73
analogous
#A94EBA #BA4E95 #BA4E5F
triadic
#BA4E95 #95BA4E #4E95BA
tetradic
#BA4E95 #BAA94E #4EBA73 #4E5FBA
square
#BA4E95 #BAA94E #4EBA73 #4E5FBA
split-complementary
#BA4E95 #5FBA4E #4EBAA9
monochromatic
#662851 #923973 #BA4E95 #CB7AAF #DCA6CA

Accessibility & contrast

On white

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

On black

4.61
#BA4E95 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4E95
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4E95#FFFFFF#000000##000000
##BA4E951.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#566B97
Deuteranopia (green-blind)
#757C92
Tritanopia (blue-blind)
#C54E6B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba4e95;
/* rgb */ color: rgb(186, 78, 149);
/* oklch */ color: oklch(58.6% 0.161 343.0);
Tailwind
colors: {
  custom: {
    50: '#d285b4',
    500: '#ba4e95',
    950: '#000000',
  },
}
SCSS
$custom: #ba4e95;
$custom-light: #d285b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4e95",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 149
  },
  "hsl": {
    "h": 320.556,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58631,
    "c": 0.16117,
    "h": 343
  },
  "luminance": 0.18058
}

Semantic roles & 50–950 ramp

primary
#BA4E95
secondary
#9ACAAA
accent
#D48054
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA4E95

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

Preview Lab → · Contrast checker → · Palette generator →

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