#BA3D8D#BA3D8D

#BA3D8D is a mid, vivid pink. Relative luminance 0.157; OKLCH L 56.3% C 0.181 H 345.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#BA3D8D
RGBrgb(186, 61, 141)
HSLhsl(322, 51%, 48%)
HSVhsv(322, 67%, 73%)
CMYKcmyk(0%, 67.2%, 24.2%, 27.1%)
CIE-LABlab(46.58, 57.82, -17.47)
CIE-LCHlch(46.58, 60.41, 343.19°)
OKLaboklab(56.33% 0.1745 -0.0464)
OKLCHoklch(56.33% 0.181 345.1)
XYZxyz(26.7272, 15.7024, 26.8174)
Luminance0.1570 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3D8D #3DBA6A
analogous
#A83DBA #BA3D8D #BA3D4E
triadic
#BA3D8D #8DBA3D #3D8DBA
tetradic
#BA3D8D #BAA83D #3DBA6A #3D4EBA
square
#BA3D8D #BAA83D #3DBA6A #3D4EBA
split-complementary
#BA3D8D #4EBA3D #3DBAA8
monochromatic
#5E1F47 #8C2E6A #BA3D8D #CD67A8 #DC95C3

Accessibility & contrast

On white

5.07
#BA3D8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#BA3D8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3D8D
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3D8D#FFFFFF#000000##FFFFFF
##BA3D8D1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A618F
Deuteranopia (green-blind)
#6F768A
Tritanopia (blue-blind)
#C63B5F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba3d8d;
/* rgb */ color: rgb(186, 61, 141);
/* oklch */ color: oklch(56.3% 0.181 345.1);
Tailwind
colors: {
  custom: {
    50: '#d27cae',
    500: '#ba3d8d',
    950: '#000000',
  },
}
SCSS
$custom: #ba3d8d;
$custom-light: #d27cae;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3d8d",
  "rgb": {
    "r": 186,
    "g": 61,
    "b": 141
  },
  "hsl": {
    "h": 321.6,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56329,
    "c": 0.18053,
    "h": 345.1
  },
  "luminance": 0.157
}

Semantic roles & 50–950 ramp

primary
#BA3D8D
secondary
#8BC8A1
accent
#DA804E
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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