#BA3D97#BA3D97

#BA3D97 is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.8% C 0.187 H 340.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#BA3D97
RGBrgb(186, 61, 151)
HSLhsl(317, 51%, 48%)
HSVhsv(317, 67%, 73%)
CMYKcmyk(0%, 67.2%, 18.8%, 27.1%)
CIE-LABlab(46.99, 59.20, -22.84)
CIE-LCHlch(46.99, 63.46, 338.90°)
OKLaboklab(56.76% 0.1765 -0.0614)
OKLCHoklch(56.76% 0.187 340.8)
XYZxyz(27.5051, 16.0135, 30.9145)
Luminance0.1601 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3D97 #3DBA60
analogous
#9E3DBA #BA3D97 #BA3D58
triadic
#BA3D97 #97BA3D #3D97BA
tetradic
#BA3D97 #BA9E3D #3DBA60 #3D58BA
square
#BA3D97 #BA9E3D #3DBA60 #3D58BA
split-complementary
#BA3D97 #58BA3D #3DBA9E
monochromatic
#5E1F4C #8C2E72 #BA3D97 #CD67B1 #DC95C8

Accessibility & contrast

On white

5.00
#BA3D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#BA3D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3D97
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3D97#FFFFFF#000000##FFFFFF
##BA3D971.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46639A
Deuteranopia (green-blind)
#6C7794
Tritanopia (blue-blind)
#C54064
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba3d97;
/* rgb */ color: rgb(186, 61, 151);
/* oklch */ color: oklch(56.8% 0.187 340.8);
Tailwind
colors: {
  custom: {
    50: '#d27cb5',
    500: '#ba3d97',
    950: '#000000',
  },
}
SCSS
$custom: #ba3d97;
$custom-light: #d27cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3d97",
  "rgb": {
    "r": 186,
    "g": 61,
    "b": 151
  },
  "hsl": {
    "h": 316.8,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56764,
    "c": 0.18688,
    "h": 340.8
  },
  "luminance": 0.16011
}

Semantic roles & 50–950 ramp

primary
#BA3D97
secondary
#8BC89C
accent
#DA754E
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3D97

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

Preview Lab → · Contrast checker → · Palette generator →

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