#BA3E99#BA3E99

#BA3E99 is a mid, vivid pink. Relative luminance 0.162; OKLCH L 57.0% C 0.187 H 340.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#BA3E99
RGBrgb(186, 62, 153)
HSLhsl(316, 50%, 49%)
HSVhsv(316, 67%, 73%)
CMYKcmyk(0%, 66.7%, 17.7%, 27.1%)
CIE-LABlab(47.22, 59.10, -23.69)
CIE-LCHlch(47.22, 63.67, 338.16°)
OKLaboklab(56.96% 0.1757 -0.0638)
OKLCHoklch(56.96% 0.187 340)
XYZxyz(27.7228, 16.1868, 31.7951)
Luminance0.1618 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3E99 #3EBA5F
analogous
#9D3EBA #BA3E99 #BA3E5B
triadic
#BA3E99 #99BA3E #3E99BA
tetradic
#BA3E99 #BA9D3E #3EBA5F #3E5BBA
square
#BA3E99 #BA9D3E #3EBA5F #3E5BBA
split-complementary
#BA3E99 #5BBA3E #3EBA9D
monochromatic
#5E1F4D #8C2F73 #BA3E99 #CD68B2 #DC96CA

Accessibility & contrast

On white

4.96
#BA3E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#BA3E99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3E99
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3E99#FFFFFF#000000##FFFFFF
##BA3E991.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45639C
Deuteranopia (green-blind)
#6C7796
Tritanopia (blue-blind)
#C54166
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba3e99;
/* rgb */ color: rgb(186, 62, 153);
/* oklch */ color: oklch(57.0% 0.187 340.0);
Tailwind
colors: {
  custom: {
    50: '#d27cb7',
    500: '#ba3e99',
    950: '#000000',
  },
}
SCSS
$custom: #ba3e99;
$custom-light: #d27cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3e99",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 153
  },
  "hsl": {
    "h": 315.968,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56957,
    "c": 0.1869,
    "h": 340
  },
  "luminance": 0.16184
}

Semantic roles & 50–950 ramp

primary
#BA3E99
secondary
#8CC89C
accent
#DA734E
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3E99

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

Preview Lab → · Contrast checker → · Palette generator →

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