#BA3199#BA3199

#BA3199 is a mid, highly saturated pink. Relative luminance 0.149; OKLCH L 55.7% C 0.203 H 339.5°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#BA3199
RGBrgb(186, 49, 153)
HSLhsl(314, 58%, 46%)
HSVhsv(314, 74%, 73%)
CMYKcmyk(0%, 73.7%, 17.7%, 27.1%)
CIE-LABlab(45.55, 63.78, -26.28)
CIE-LCHlch(45.55, 68.98, 337.61°)
OKLaboklab(55.74% 0.1898 -0.071)
OKLCHoklch(55.74% 0.203 339.5)
XYZxyz(27.0985, 14.9383, 31.5870)
Luminance0.1494 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3199 #31BA52
analogous
#9631BA #BA3199 #BA3154
triadic
#BA3199 #99BA31 #3199BA
tetradic
#BA3199 #BA9631 #31BA52 #3154BA
square
#BA3199 #BA9631 #31BA52 #3154BA
split-complementary
#BA3199 #54BA31 #31BA96
monochromatic
#591749 #8A2471 #BA3199 #D256B4 #DF86CA

Accessibility & contrast

On white

5.27
#BA3199 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#BA3199 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3199
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3199#FFFFFF#000000##FFFFFF
##BA31991.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5E9C
Deuteranopia (green-blind)
#667496
Tritanopia (blue-blind)
#C53661
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba3199;
/* rgb */ color: rgb(186, 49, 153);
/* oklch */ color: oklch(55.7% 0.203 339.5);
Tailwind
colors: {
  custom: {
    50: '#d376b7',
    500: '#ba3199',
    950: '#000000',
  },
}
SCSS
$custom: #ba3199;
$custom-light: #d376b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3199",
  "rgb": {
    "r": 186,
    "g": 49,
    "b": 153
  },
  "hsl": {
    "h": 314.453,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55744,
    "c": 0.20267,
    "h": 339.5
  },
  "luminance": 0.14936
}

Semantic roles & 50–950 ramp

primary
#BA3199
secondary
#7EC990
accent
#E26C46
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3199

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

Preview Lab → · Contrast checker → · Palette generator →

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