#BA4983#BA4983

#BA4983 is a mid, vivid pink. Relative luminance 0.168; OKLCH L 57.3% C 0.158 H 351.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#BA4983
RGBrgb(186, 73, 131)
HSLhsl(329, 45%, 51%)
HSVhsv(329, 61%, 73%)
CMYKcmyk(0%, 60.8%, 29.6%, 27.1%)
CIE-LABlab(48.06, 51.44, -9.19)
CIE-LCHlch(48.06, 52.26, 349.87°)
OKLaboklab(57.3% 0.1563 -0.0238)
OKLCHoklch(57.3% 0.158 351.3)
XYZxyz(26.7302, 16.8456, 23.3121)
Luminance0.1684 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4983 #49BA80
analogous
#B949BA #BA4983 #BA494A
triadic
#BA4983 #83BA49 #4983BA
tetradic
#BA4983 #BAB949 #49BA80 #494ABA
square
#BA4983 #BAB949 #49BA80 #494ABA
split-complementary
#BA4983 #4ABA49 #49BAB9
monochromatic
#632645 #8F3664 #BA4983 #CB75A1 #DCA2BF

Accessibility & contrast

On white

4.81
#BA4983 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#BA4983 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4983
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4983#FFFFFF#000000##FFFFFF
##BA49831.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586585
Deuteranopia (green-blind)
#777A80
Tritanopia (blue-blind)
#C74460
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba4983;
/* rgb */ color: rgb(186, 73, 131);
/* oklch */ color: oklch(57.3% 0.158 351.3);
Tailwind
colors: {
  custom: {
    50: '#d282a7',
    500: '#ba4983',
    950: '#000000',
  },
}
SCSS
$custom: #ba4983;
$custom-light: #d282a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4983",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 131
  },
  "hsl": {
    "h": 329.204,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57301,
    "c": 0.15805,
    "h": 351.3
  },
  "luminance": 0.16843
}

Semantic roles & 50–950 ramp

primary
#BA4983
secondary
#96C8AF
accent
#D59253
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150B0F
muted
#837C7F

Preview Lab

Preview with #BA4983

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

Preview Lab → · Contrast checker → · Palette generator →

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