#BA3E89#BA3E89

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

Color values

HEX#BA3E89
RGBrgb(186, 62, 137)
HSLhsl(324, 50%, 49%)
HSVhsv(324, 67%, 73%)
CMYKcmyk(0%, 66.7%, 26.3%, 27.1%)
CIE-LABlab(46.57, 56.90, -15.07)
CIE-LCHlch(46.57, 58.86, 345.16°)
OKLaboklab(56.27% 0.1723 -0.0398)
OKLCHoklch(56.27% 0.177 347)
XYZxyz(26.4888, 15.6932, 25.2961)
Luminance0.1569 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3E89 #3EBA6F
analogous
#AD3EBA #BA3E89 #BA3E4B
triadic
#BA3E89 #89BA3E #3E89BA
tetradic
#BA3E89 #BAAD3E #3EBA6F #3E4BBA
square
#BA3E89 #BAAD3E #3EBA6F #3E4BBA
split-complementary
#BA3E89 #4BBA3E #3EBAAD
monochromatic
#5E1F45 #8C2F67 #BA3E89 #CD68A5 #DC96C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3E89#FFFFFF#000000##FFFFFF
##BA3E891.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)
#4D618B
Deuteranopia (green-blind)
#717686
Tritanopia (blue-blind)
#C73B5E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba3e89;
/* rgb */ color: rgb(186, 62, 137);
/* oklch */ color: oklch(56.3% 0.177 347.0);
Tailwind
colors: {
  custom: {
    50: '#d27cab',
    500: '#ba3e89',
    950: '#000000',
  },
}
SCSS
$custom: #ba3e89;
$custom-light: #d27cab;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3e89",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 137
  },
  "hsl": {
    "h": 323.71,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56269,
    "c": 0.17685,
    "h": 347
  },
  "luminance": 0.1569
}

Semantic roles & 50–950 ramp

primary
#BA3E89
secondary
#8CC8A4
accent
#DA854E
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3E89

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

Preview Lab → · Contrast checker → · Palette generator →

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