#BA3985#BA3985

#BA3985 is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.6% C 0.181 H 348.3°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#BA3985
RGBrgb(186, 57, 133)
HSLhsl(325, 53%, 48%)
HSVhsv(325, 69%, 73%)
CMYKcmyk(0%, 69.4%, 28.5%, 27.1%)
CIE-LABlab(45.72, 58.33, -13.94)
CIE-LCHlch(45.72, 59.97, 346.56°)
OKLaboklab(55.6% 0.1773 -0.0366)
OKLCHoklch(55.6% 0.181 348.3)
XYZxyz(25.9477, 15.0616, 23.7264)
Luminance0.1506 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3985 #39BA6E
analogous
#AE39BA #BA3985 #BA3945
triadic
#BA3985 #85BA39 #3985BA
tetradic
#BA3985 #BAAE39 #39BA6E #3945BA
square
#BA3985 #BAAE39 #39BA6E #3945BA
split-complementary
#BA3985 #45BA39 #39BAAE
monochromatic
#5C1C42 #8B2B64 #BA3985 #CF61A2 #DD90BE

Accessibility & contrast

On white

5.23
#BA3985 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#BA3985 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3985
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3985#FFFFFF#000000##FFFFFF
##BA39851.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5E87
Deuteranopia (green-blind)
#707482
Tritanopia (blue-blind)
#C7345A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba3985;
/* rgb */ color: rgb(186, 57, 133);
/* oklch */ color: oklch(55.6% 0.181 348.3);
Tailwind
colors: {
  custom: {
    50: '#d379a8',
    500: '#ba3985',
    950: '#000000',
  },
}
SCSS
$custom: #ba3985;
$custom-light: #d379a8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3985",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 133
  },
  "hsl": {
    "h": 324.651,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55595,
    "c": 0.18108,
    "h": 348.3
  },
  "luminance": 0.15059
}

Semantic roles & 50–950 ramp

primary
#BA3985
secondary
#87C8A2
accent
#DC874B
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA3985

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

Preview Lab → · Contrast checker → · Palette generator →

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