#BA3792#BA3792

#BA3792 is a mid, vivid pink. Relative luminance 0.152; OKLCH L 56.0% C 0.191 H 342.5°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#BA3792
RGBrgb(186, 55, 146)
HSLhsl(318, 54%, 47%)
HSVhsv(318, 70%, 73%)
CMYKcmyk(0%, 70.4%, 21.5%, 27.1%)
CIE-LABlab(45.97, 60.76, -21.41)
CIE-LCHlch(45.97, 64.42, 340.59°)
OKLaboklab(55.95% 0.1824 -0.0574)
OKLCHoklch(55.95% 0.191 342.5)
XYZxyz(26.8051, 15.2495, 28.7203)
Luminance0.1525 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3792 #37BA5F
analogous
#A137BA #BA3792 #BA3750
triadic
#BA3792 #92BA37 #3792BA
tetradic
#BA3792 #BAA137 #37BA5F #3750BA
square
#BA3792 #BAA137 #37BA5F #3750BA
split-complementary
#BA3792 #50BA37 #37BAA1
monochromatic
#5C1B48 #8B296D #BA3792 #D05FAD #DE8EC5

Accessibility & contrast

On white

5.19
#BA3792 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#BA3792 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3792
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3792#FFFFFF#000000##FFFFFF
##BA37921.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435F95
Deuteranopia (green-blind)
#6B758F
Tritanopia (blue-blind)
#C63860
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3792;
/* rgb */ color: rgb(186, 55, 146);
/* oklch */ color: oklch(56.0% 0.191 342.5);
Tailwind
colors: {
  custom: {
    50: '#d379b2',
    500: '#ba3792',
    950: '#000000',
  },
}
SCSS
$custom: #ba3792;
$custom-light: #d379b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3792",
  "rgb": {
    "r": 186,
    "g": 55,
    "b": 146
  },
  "hsl": {
    "h": 318.321,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55952,
    "c": 0.19123,
    "h": 342.5
  },
  "luminance": 0.15247
}

Semantic roles & 50–950 ramp

primary
#BA3792
secondary
#85C899
accent
#DE774A
background
#FDF7FA
surface
#FAEEF5
border
#D3C9CF
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3792

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

Preview Lab → · Contrast checker → · Palette generator →

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