#BA4785#BA4785

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

Color values

HEX#BA4785
RGBrgb(186, 71, 133)
HSLhsl(328, 45%, 50%)
HSVhsv(328, 62%, 73%)
CMYKcmyk(0%, 61.8%, 28.5%, 27.1%)
CIE-LABlab(47.81, 52.59, -10.79)
CIE-LCHlch(47.81, 53.69, 348.41°)
OKLaboklab(57.13% 0.1596 -0.0281)
OKLCHoklch(57.13% 0.162 350)
XYZxyz(26.7377, 16.6417, 23.9898)
Luminance0.1664 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4785 #47BA7C
analogous
#B547BA #BA4785 #BA474B
triadic
#BA4785 #85BA47 #4785BA
tetradic
#BA4785 #BAB547 #47BA7C #474BBA
square
#BA4785 #BAB547 #47BA7C #474BBA
split-complementary
#BA4785 #4BBA47 #47BAB5
monochromatic
#622546 #8E3565 #BA4785 #CB74A3 #DBA0C0

Accessibility & contrast

On white

4.85
#BA4785 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#BA4785 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4785
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4785#FFFFFF#000000##FFFFFF
##BA47851.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566587
Deuteranopia (green-blind)
#767982
Tritanopia (blue-blind)
#C74260
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba4785;
/* rgb */ color: rgb(186, 71, 133);
/* oklch */ color: oklch(57.1% 0.162 350.0);
Tailwind
colors: {
  custom: {
    50: '#d281a8',
    500: '#ba4785',
    950: '#000000',
  },
}
SCSS
$custom: #ba4785;
$custom-light: #d281a8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4785",
  "rgb": {
    "r": 186,
    "g": 71,
    "b": 133
  },
  "hsl": {
    "h": 327.652,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57132,
    "c": 0.16203,
    "h": 350
  },
  "luminance": 0.16639
}

Semantic roles & 50–950 ramp

primary
#BA4785
secondary
#95C8AC
accent
#D58F53
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150B0F
muted
#837C7F

Preview Lab

Preview with #BA4785

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

Preview Lab → · Contrast checker → · Palette generator →

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