#BA489E#BA489E

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

Color values

HEX#BA489E
RGBrgb(186, 72, 158)
HSLhsl(315, 45%, 51%)
HSVhsv(315, 61%, 73%)
CMYKcmyk(0%, 61.3%, 15.1%, 27.1%)
CIE-LABlab(48.94, 55.68, -24.01)
CIE-LCHlch(48.94, 60.64, 336.68°)
OKLaboklab(58.29% 0.1641 -0.0648)
OKLCHoklch(58.29% 0.176 338.5)
XYZxyz(28.7391, 17.5449, 34.2140)
Luminance0.1754 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA489E #48BA64
analogous
#9D48BA #BA489E #BA4865
triadic
#BA489E #9EBA48 #489EBA
tetradic
#BA489E #BA9D48 #48BA64 #4865BA
square
#BA489E #BA9D48 #48BA64 #4865BA
split-complementary
#BA489E #65BA48 #48BA9D
monochromatic
#622553 #8F3679 #BA489E #CB74B6 #DCA1CD

Accessibility & contrast

On white

4.66
#BA489E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#BA489E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA489E
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA489E#FFFFFF#000000##FFFFFF
##BA489E1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C69A1
Deuteranopia (green-blind)
#6F7B9B
Tritanopia (blue-blind)
#C44C6C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba489e;
/* rgb */ color: rgb(186, 72, 158);
/* oklch */ color: oklch(58.3% 0.176 338.5);
Tailwind
colors: {
  custom: {
    50: '#d282bb',
    500: '#ba489e',
    950: '#000000',
  },
}
SCSS
$custom: #ba489e;
$custom-light: #d282bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba489e",
  "rgb": {
    "r": 186,
    "g": 72,
    "b": 158
  },
  "hsl": {
    "h": 314.737,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58287,
    "c": 0.17645,
    "h": 338.5
  },
  "luminance": 0.17542
}

Semantic roles & 50–950 ramp

primary
#BA489E
secondary
#96C8A2
accent
#D57353
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA489E

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

Preview Lab → · Contrast checker → · Palette generator →

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