#BA3A85#BA3A85

#BA3A85 is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.7% C 0.180 H 348.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#BA3A85
RGBrgb(186, 58, 133)
HSLhsl(325, 52%, 48%)
HSVhsv(325, 69%, 73%)
CMYKcmyk(0%, 68.8%, 28.5%, 27.1%)
CIE-LABlab(45.85, 57.95, -13.73)
CIE-LCHlch(45.85, 59.56, 346.67°)
OKLaboklab(55.69% 0.1762 -0.036)
OKLCHoklch(55.69% 0.18 348.4)
XYZxyz(25.9976, 15.1615, 23.7431)
Luminance0.1516 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3A85 #3ABA6F
analogous
#AF3ABA #BA3A85 #BA3A45
triadic
#BA3A85 #85BA3A #3A85BA
tetradic
#BA3A85 #BAAF3A #3ABA6F #3A45BA
square
#BA3A85 #BAAF3A #3ABA6F #3A45BA
split-complementary
#BA3A85 #45BA3A #3ABAAF
monochromatic
#5D1D42 #8B2B64 #BA3A85 #CE63A2 #DD92BE

Accessibility & contrast

On white

5.21
#BA3A85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#BA3A85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3A85
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3A85#FFFFFF#000000##FFFFFF
##BA3A851.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5E87
Deuteranopia (green-blind)
#707582
Tritanopia (blue-blind)
#C7355A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3a85;
/* rgb */ color: rgb(186, 58, 133);
/* oklch */ color: oklch(55.7% 0.180 348.4);
Tailwind
colors: {
  custom: {
    50: '#d37aa8',
    500: '#ba3a85',
    950: '#000000',
  },
}
SCSS
$custom: #ba3a85;
$custom-light: #d37aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3a85",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 133
  },
  "hsl": {
    "h": 324.844,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55695,
    "c": 0.17982,
    "h": 348.4
  },
  "luminance": 0.15159
}

Semantic roles & 50–950 ramp

primary
#BA3A85
secondary
#88C8A2
accent
#DC884C
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA3A85

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

Preview Lab → · Contrast checker → · Palette generator →

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