#BA3799#BA3799

#BA3799 is a mid, vivid pink. Relative luminance 0.155; OKLCH L 56.3% C 0.196 H 339.7°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#BA3799
RGBrgb(186, 55, 153)
HSLhsl(315, 54%, 47%)
HSVhsv(315, 70%, 73%)
CMYKcmyk(0%, 70.4%, 17.7%, 27.1%)
CIE-LABlab(46.28, 61.73, -25.15)
CIE-LCHlch(46.28, 66.66, 337.83°)
OKLaboklab(56.27% 0.1836 -0.0679)
OKLCHoklch(56.27% 0.196 339.7)
XYZxyz(27.3663, 15.4740, 31.6763)
Luminance0.1547 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3799 #37BA58
analogous
#9A37BA #BA3799 #BA3757
triadic
#BA3799 #99BA37 #3799BA
tetradic
#BA3799 #BA9A37 #37BA58 #3757BA
square
#BA3799 #BA9A37 #37BA58 #3757BA
split-complementary
#BA3799 #57BA37 #37BA9A
monochromatic
#5C1B4B #8B2972 #BA3799 #D05FB3 #DE8EC9

Accessibility & contrast

On white

5.13
#BA3799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#BA3799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3799
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3799#FFFFFF#000000##FFFFFF
##BA37991.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F609C
Deuteranopia (green-blind)
#697596
Tritanopia (blue-blind)
#C53B63
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba3799;
/* rgb */ color: rgb(186, 55, 153);
/* oklch */ color: oklch(56.3% 0.196 339.7);
Tailwind
colors: {
  custom: {
    50: '#d279b7',
    500: '#ba3799',
    950: '#000000',
  },
}
SCSS
$custom: #ba3799;
$custom-light: #d279b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3799",
  "rgb": {
    "r": 186,
    "g": 55,
    "b": 153
  },
  "hsl": {
    "h": 315.115,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56271,
    "c": 0.19576,
    "h": 339.7
  },
  "luminance": 0.15471
}

Semantic roles & 50–950 ramp

primary
#BA3799
secondary
#85C896
accent
#DE6F4A
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3799

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

Preview Lab → · Contrast checker → · Palette generator →

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