#BA3E93#BA3E93

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

Color values

HEX#BA3E93
RGBrgb(186, 62, 147)
HSLhsl(319, 50%, 49%)
HSVhsv(319, 67%, 73%)
CMYKcmyk(0%, 66.7%, 21%, 27.1%)
CIE-LABlab(46.97, 58.25, -20.49)
CIE-LCHlch(46.97, 61.75, 340.62°)
OKLaboklab(56.69% 0.1745 -0.0548)
OKLCHoklch(56.69% 0.183 342.6)
XYZxyz(27.2396, 15.9936, 29.2506)
Luminance0.1599 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3E93 #3EBA65
analogous
#A33EBA #BA3E93 #BA3E55
triadic
#BA3E93 #93BA3E #3E93BA
tetradic
#BA3E93 #BAA33E #3EBA65 #3E55BA
square
#BA3E93 #BAA33E #3EBA65 #3E55BA
split-complementary
#BA3E93 #55BA3E #3EBAA3
monochromatic
#5E1F4A #8C2F6F #BA3E93 #CD68AD #DC96C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3E93#FFFFFF#000000##FFFFFF
##BA3E931.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)
#486295
Deuteranopia (green-blind)
#6E7790
Tritanopia (blue-blind)
#C53F63
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba3e93;
/* rgb */ color: rgb(186, 62, 147);
/* oklch */ color: oklch(56.7% 0.183 342.6);
Tailwind
colors: {
  custom: {
    50: '#d27cb3',
    500: '#ba3e93',
    950: '#000000',
  },
}
SCSS
$custom: #ba3e93;
$custom-light: #d27cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3e93",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 147
  },
  "hsl": {
    "h": 318.871,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5669,
    "c": 0.18295,
    "h": 342.6
  },
  "luminance": 0.15991
}

Semantic roles & 50–950 ramp

primary
#BA3E93
secondary
#8CC89F
accent
#DA7A4E
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3E93

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

Preview Lab → · Contrast checker → · Palette generator →

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