#BA4783#BA4783

#BA4783 is a mid, vivid pink. Relative luminance 0.166; OKLCH L 57.1% C 0.161 H 351.0°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#BA4783
RGBrgb(186, 71, 131)
HSLhsl(329, 45%, 50%)
HSVhsv(329, 62%, 73%)
CMYKcmyk(0%, 61.8%, 29.6%, 27.1%)
CIE-LABlab(47.74, 52.33, -9.69)
CIE-LCHlch(47.74, 53.22, 349.52°)
OKLaboklab(57.06% 0.159 -0.0251)
OKLCHoklch(57.06% 0.161 351)
XYZxyz(26.6009, 16.5870, 23.2690)
Luminance0.1658 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4783 #47BA7E
analogous
#B847BA #BA4783 #BA4749
triadic
#BA4783 #83BA47 #4783BA
tetradic
#BA4783 #BAB847 #47BA7E #4749BA
square
#BA4783 #BAB847 #47BA7E #4749BA
split-complementary
#BA4783 #49BA47 #47BAB8
monochromatic
#622545 #8E3564 #BA4783 #CB74A1 #DBA0BF

Accessibility & contrast

On white

4.86
#BA4783 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#BA4783 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4783
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4783#FFFFFF#000000##FFFFFF
##BA47831.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576485
Deuteranopia (green-blind)
#777980
Tritanopia (blue-blind)
#C7415F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba4783;
/* rgb */ color: rgb(186, 71, 131);
/* oklch */ color: oklch(57.1% 0.161 351.0);
Tailwind
colors: {
  custom: {
    50: '#d281a7',
    500: '#ba4783',
    950: '#000000',
  },
}
SCSS
$custom: #ba4783;
$custom-light: #d281a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4783",
  "rgb": {
    "r": 186,
    "g": 71,
    "b": 131
  },
  "hsl": {
    "h": 328.696,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57057,
    "c": 0.16098,
    "h": 351
  },
  "luminance": 0.16584
}

Semantic roles & 50–950 ramp

primary
#BA4783
secondary
#95C8AD
accent
#D59153
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150B0F
muted
#837C7F

Preview Lab

Preview with #BA4783

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

Preview Lab → · Contrast checker → · Palette generator →

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