#BA3A74#BA3A74

#BA3A74 is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.1% C 0.172 H 356.5°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#BA3A74
RGBrgb(186, 58, 116)
HSLhsl(333, 52%, 48%)
HSVhsv(333, 69%, 73%)
CMYKcmyk(0%, 68.8%, 37.6%, 27.1%)
CIE-LABlab(45.26, 55.95, -4.25)
CIE-LCHlch(45.26, 56.11, 355.66°)
OKLaboklab(55.06% 0.1714 -0.0105)
OKLCHoklch(55.06% 0.172 356.5)
XYZxyz(24.9167, 14.7291, 18.0505)
Luminance0.1473 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3A74 #3ABA80
analogous
#BA3AB4 #BA3A74 #BA403A
triadic
#BA3A74 #74BA3A #3A74BA
tetradic
#BA3A74 #B4BA3A #3ABA80 #403ABA
square
#BA3A74 #B4BA3A #3ABA80 #403ABA
split-complementary
#BA3A74 #3ABA40 #3AB4BA
monochromatic
#5D1D3A #8B2B57 #BA3A74 #CE6394 #DD92B4

Accessibility & contrast

On white

5.32
#BA3A74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#BA3A74 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3A74
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3A74#FFFFFF#000000##FFFFFF
##BA3A741.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525C76
Deuteranopia (green-blind)
#757471
Tritanopia (blue-blind)
#C92D52
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba3a74;
/* rgb */ color: rgb(186, 58, 116);
/* oklch */ color: oklch(55.1% 0.172 356.5);
Tailwind
colors: {
  custom: {
    50: '#d3799c',
    500: '#ba3a74',
    950: '#000000',
  },
}
SCSS
$custom: #ba3a74;
$custom-light: #d3799c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3a74",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 116
  },
  "hsl": {
    "h": 332.813,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55064,
    "c": 0.17168,
    "h": 356.5
  },
  "luminance": 0.14726
}

Semantic roles & 50–950 ramp

primary
#BA3A74
secondary
#88C8AB
accent
#DC9B4C
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA3A74

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

Preview Lab → · Contrast checker → · Palette generator →

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