#BA3193#BA3193

#BA3193 is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.5% C 0.199 H 341.8°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#BA3193
RGBrgb(186, 49, 147)
HSLhsl(317, 58%, 46%)
HSVhsv(317, 74%, 73%)
CMYKcmyk(0%, 73.7%, 21%, 27.1%)
CIE-LABlab(45.28, 62.96, -23.08)
CIE-LCHlch(45.28, 67.06, 339.87°)
OKLaboklab(55.46% 0.1889 -0.062)
OKLCHoklch(55.46% 0.199 341.8)
XYZxyz(26.6153, 14.7450, 29.0425)
Luminance0.1474 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3193 #31BA58
analogous
#9C31BA #BA3193 #BA314E
triadic
#BA3193 #93BA31 #3193BA
tetradic
#BA3193 #BA9C31 #31BA58 #314EBA
square
#BA3193 #BA9C31 #31BA58 #314EBA
split-complementary
#BA3193 #4EBA31 #31BA9C
monochromatic
#591746 #8A246D #BA3193 #D256AF #DF86C6

Accessibility & contrast

On white

5.32
#BA3193 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#BA3193 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3193
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3193#FFFFFF#000000##FFFFFF
##BA31931.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5D96
Deuteranopia (green-blind)
#697390
Tritanopia (blue-blind)
#C6335E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba3193;
/* rgb */ color: rgb(186, 49, 147);
/* oklch */ color: oklch(55.5% 0.199 341.8);
Tailwind
colors: {
  custom: {
    50: '#d376b3',
    500: '#ba3193',
    950: '#000000',
  },
}
SCSS
$custom: #ba3193;
$custom-light: #d376b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3193",
  "rgb": {
    "r": 186,
    "g": 49,
    "b": 147
  },
  "hsl": {
    "h": 317.08,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55464,
    "c": 0.19883,
    "h": 341.8
  },
  "luminance": 0.14742
}

Semantic roles & 50–950 ramp

primary
#BA3193
secondary
#7EC993
accent
#E27246
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA3193

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

Preview Lab → · Contrast checker → · Palette generator →

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