#BA3A7A#BA3A7A

#BA3A7A is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.3% C 0.174 H 353.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#BA3A7A
RGBrgb(186, 58, 122)
HSLhsl(330, 52%, 48%)
HSVhsv(330, 69%, 73%)
CMYKcmyk(0%, 68.8%, 34.4%, 27.1%)
CIE-LABlab(45.46, 56.62, -7.63)
CIE-LCHlch(45.46, 57.14, 352.33°)
OKLaboklab(55.28% 0.1732 -0.0195)
OKLCHoklch(55.28% 0.174 353.6)
XYZxyz(25.2771, 14.8732, 19.9483)
Luminance0.1487 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3A7A #3ABA7A
analogous
#BA3ABA #BA3A7A #BA3A3A
triadic
#BA3A7A #7ABA3A #3A7ABA
tetradic
#BA3A7A #BABA3A #3ABA7A #3A3ABA
square
#BA3A7A #BABA3A #3ABA7A #3A3ABA
split-complementary
#BA3A7A #3ABA3A #3ABABA
monochromatic
#5D1D3D #8B2B5B #BA3A7A #CE6399 #DD92B7

Accessibility & contrast

On white

5.28
#BA3A7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#BA3A7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3A7A
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3A7A#FFFFFF#000000##FFFFFF
##BA3A7A1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505D7C
Deuteranopia (green-blind)
#737477
Tritanopia (blue-blind)
#C83055
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba3a7a;
/* rgb */ color: rgb(186, 58, 122);
/* oklch */ color: oklch(55.3% 0.174 353.6);
Tailwind
colors: {
  custom: {
    50: '#d37aa0',
    500: '#ba3a7a',
    950: '#000000',
  },
}
SCSS
$custom: #ba3a7a;
$custom-light: #d37aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3a7a",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 122
  },
  "hsl": {
    "h": 330,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55276,
    "c": 0.17427,
    "h": 353.6
  },
  "luminance": 0.1487
}

Semantic roles & 50–950 ramp

primary
#BA3A7A
secondary
#88C8A8
accent
#DC944C
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA3A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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