#BA488E#BA488E

#BA488E is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.6% C 0.166 H 345.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#BA488E
RGBrgb(186, 72, 142)
HSLhsl(323, 45%, 51%)
HSVhsv(323, 61%, 73%)
CMYKcmyk(0%, 61.3%, 23.7%, 27.1%)
CIE-LABlab(48.30, 53.36, -15.45)
CIE-LCHlch(48.30, 55.55, 343.85°)
OKLaboklab(57.6% 0.1606 -0.0409)
OKLCHoklch(57.6% 0.166 345.7)
XYZxyz(27.4505, 17.0294, 27.4273)
Luminance0.1703 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA488E #48BA74
analogous
#AD48BA #BA488E #BA4855
triadic
#BA488E #8EBA48 #488EBA
tetradic
#BA488E #BAAD48 #48BA74 #4855BA
square
#BA488E #BAAD48 #48BA74 #4855BA
split-complementary
#BA488E #55BA48 #48BAAD
monochromatic
#62254B #8F366D #BA488E #CB74A9 #DCA1C5

Accessibility & contrast

On white

4.77
#BA488E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#BA488E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA488E
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA488E#FFFFFF#000000##FFFFFF
##BA488E1.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536690
Deuteranopia (green-blind)
#747A8B
Tritanopia (blue-blind)
#C64665
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba488e;
/* rgb */ color: rgb(186, 72, 142);
/* oklch */ color: oklch(57.6% 0.166 345.7);
Tailwind
colors: {
  custom: {
    50: '#d281af',
    500: '#ba488e',
    950: '#000000',
  },
}
SCSS
$custom: #ba488e;
$custom-light: #d281af;
$custom-dark: #000000;
JSON
{
  "hex": "#ba488e",
  "rgb": {
    "r": 186,
    "g": 72,
    "b": 142
  },
  "hsl": {
    "h": 323.158,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57603,
    "c": 0.16575,
    "h": 345.7
  },
  "luminance": 0.17027
}

Semantic roles & 50–950 ramp

primary
#BA488E
secondary
#96C8A9
accent
#D58553
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #BA488E

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

Preview Lab → · Contrast checker → · Palette generator →

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