#BA3793#BA3793

#BA3793 is a mid, vivid pink. Relative luminance 0.153; OKLCH L 56.0% C 0.192 H 342.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#BA3793
RGBrgb(186, 55, 147)
HSLhsl(318, 54%, 47%)
HSVhsv(318, 70%, 73%)
CMYKcmyk(0%, 70.4%, 21%, 27.1%)
CIE-LABlab(46.02, 60.90, -21.95)
CIE-LCHlch(46.02, 64.73, 340.18°)
OKLaboklab(56% 0.1826 -0.0589)
OKLCHoklch(56% 0.192 342.1)
XYZxyz(26.8832, 15.2807, 29.1318)
Luminance0.1528 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3793 #37BA5E
analogous
#A037BA #BA3793 #BA3751
triadic
#BA3793 #93BA37 #3793BA
tetradic
#BA3793 #BAA037 #37BA5E #3751BA
square
#BA3793 #BAA037 #37BA5E #3751BA
split-complementary
#BA3793 #51BA37 #37BAA0
monochromatic
#5C1B48 #8B296E #BA3793 #D05FAE #DE8EC6

Accessibility & contrast

On white

5.18
#BA3793 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#BA3793 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3793
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3793#FFFFFF#000000##FFFFFF
##BA37931.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425F96
Deuteranopia (green-blind)
#6B7590
Tritanopia (blue-blind)
#C53860
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3793;
/* rgb */ color: rgb(186, 55, 147);
/* oklch */ color: oklch(56.0% 0.192 342.1);
Tailwind
colors: {
  custom: {
    50: '#d379b3',
    500: '#ba3793',
    950: '#000000',
  },
}
SCSS
$custom: #ba3793;
$custom-light: #d379b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3793",
  "rgb": {
    "r": 186,
    "g": 55,
    "b": 147
  },
  "hsl": {
    "h": 317.863,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55997,
    "c": 0.19186,
    "h": 342.1
  },
  "luminance": 0.15278
}

Semantic roles & 50–950 ramp

primary
#BA3793
secondary
#85C899
accent
#DE764A
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3793

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

Preview Lab → · Contrast checker → · Palette generator →

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