#BA3D98#BA3D98

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

Color values

HEX#BA3D98
RGBrgb(186, 61, 152)
HSLhsl(316, 51%, 48%)
HSVhsv(316, 67%, 73%)
CMYKcmyk(0%, 67.2%, 18.3%, 27.1%)
CIE-LABlab(47.03, 59.34, -23.38)
CIE-LCHlch(47.03, 63.78, 338.50°)
OKLaboklab(56.81% 0.1767 -0.0629)
OKLCHoklch(56.81% 0.188 340.4)
XYZxyz(27.5866, 16.0462, 31.3440)
Luminance0.1604 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3D98 #3DBA5F
analogous
#9D3DBA #BA3D98 #BA3D59
triadic
#BA3D98 #98BA3D #3D98BA
tetradic
#BA3D98 #BA9D3D #3DBA5F #3D59BA
square
#BA3D98 #BA9D3D #3DBA5F #3D59BA
split-complementary
#BA3D98 #59BA3D #3DBA9D
monochromatic
#5E1F4D #8C2E72 #BA3D98 #CD67B1 #DC95C9

Accessibility & contrast

On white

4.99
#BA3D98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#BA3D98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3D98
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3D98#FFFFFF#000000##FFFFFF
##BA3D981.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45639B
Deuteranopia (green-blind)
#6C7795
Tritanopia (blue-blind)
#C54065
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba3d98;
/* rgb */ color: rgb(186, 61, 152);
/* oklch */ color: oklch(56.8% 0.188 340.4);
Tailwind
colors: {
  custom: {
    50: '#d27cb6',
    500: '#ba3d98',
    950: '#000000',
  },
}
SCSS
$custom: #ba3d98;
$custom-light: #d27cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3d98",
  "rgb": {
    "r": 186,
    "g": 61,
    "b": 152
  },
  "hsl": {
    "h": 316.32,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56809,
    "c": 0.18754,
    "h": 340.4
  },
  "luminance": 0.16044
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA3D98

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

Preview Lab → · Contrast checker → · Palette generator →

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