#BA319B#BA319B

#BA319B is a mid, highly saturated pink. Relative luminance 0.150; OKLCH L 55.8% C 0.204 H 338.7°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#BA319B
RGBrgb(186, 49, 155)
HSLhsl(314, 58%, 46%)
HSVhsv(314, 74%, 73%)
CMYKcmyk(0%, 73.7%, 16.7%, 27.1%)
CIE-LABlab(45.64, 64.06, -27.33)
CIE-LCHlch(45.64, 69.65, 336.89°)
OKLaboklab(55.84% 0.1901 -0.074)
OKLCHoklch(55.84% 0.204 338.7)
XYZxyz(27.2651, 15.0049, 32.4643)
Luminance0.1500 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA319B #31BA50
analogous
#9431BA #BA319B #BA3156
triadic
#BA319B #9BBA31 #319BBA
tetradic
#BA319B #BA9431 #31BA50 #3156BA
square
#BA319B #BA9431 #31BA50 #3156BA
split-complementary
#BA319B #56BA31 #31BA94
monochromatic
#59174A #8A2473 #BA319B #D256B6 #DF86CB

Accessibility & contrast

On white

5.25
#BA319B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#BA319B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA319B
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA319B#FFFFFF#000000##FFFFFF
##BA319B1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385E9E
Deuteranopia (green-blind)
#667498
Tritanopia (blue-blind)
#C53762
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba319b;
/* rgb */ color: rgb(186, 49, 155);
/* oklch */ color: oklch(55.8% 0.204 338.7);
Tailwind
colors: {
  custom: {
    50: '#d376b8',
    500: '#ba319b',
    950: '#000000',
  },
}
SCSS
$custom: #ba319b;
$custom-light: #d376b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba319b",
  "rgb": {
    "r": 186,
    "g": 49,
    "b": 155
  },
  "hsl": {
    "h": 313.577,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5584,
    "c": 0.20399,
    "h": 338.7
  },
  "luminance": 0.15002
}

Semantic roles & 50–950 ramp

primary
#BA319B
secondary
#7EC98F
accent
#E26946
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA319B

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

Preview Lab → · Contrast checker → · Palette generator →

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