#BA3794#BA3794

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

Color values

HEX#BA3794
RGBrgb(186, 55, 148)
HSLhsl(317, 54%, 47%)
HSVhsv(317, 70%, 73%)
CMYKcmyk(0%, 70.4%, 20.4%, 27.1%)
CIE-LABlab(46.06, 61.03, -22.48)
CIE-LCHlch(46.06, 65.04, 339.78°)
OKLaboklab(56.04% 0.1828 -0.0604)
OKLCHoklch(56.04% 0.192 341.7)
XYZxyz(26.9620, 15.3123, 29.5468)
Luminance0.1531 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3794 #37BA5D
analogous
#9F37BA #BA3794 #BA3752
triadic
#BA3794 #94BA37 #3794BA
tetradic
#BA3794 #BA9F37 #37BA5D #3752BA
square
#BA3794 #BA9F37 #37BA5D #3752BA
split-complementary
#BA3794 #52BA37 #37BA9F
monochromatic
#5C1B49 #8B296E #BA3794 #D05FAF #DE8EC6

Accessibility & contrast

On white

5.17
#BA3794 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA3794
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3794#FFFFFF#000000##FFFFFF
##BA37941.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425F97
Deuteranopia (green-blind)
#6B7591
Tritanopia (blue-blind)
#C53961
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3794;
/* rgb */ color: rgb(186, 55, 148);
/* oklch */ color: oklch(56.0% 0.192 341.7);
Tailwind
colors: {
  custom: {
    50: '#d379b3',
    500: '#ba3794',
    950: '#000000',
  },
}
SCSS
$custom: #ba3794;
$custom-light: #d379b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3794",
  "rgb": {
    "r": 186,
    "g": 55,
    "b": 148
  },
  "hsl": {
    "h": 317.405,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56042,
    "c": 0.19249,
    "h": 341.7
  },
  "luminance": 0.1531
}

Semantic roles & 50–950 ramp

primary
#BA3794
secondary
#85C898
accent
#DE754A
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3794

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

Preview Lab → · Contrast checker → · Palette generator →

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