#BA3E83#BA3E83

#BA3E83 is a mid, vivid pink. Relative luminance 0.155; OKLCH L 56.0% C 0.174 H 349.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#BA3E83
RGBrgb(186, 62, 131)
HSLhsl(327, 50%, 49%)
HSVhsv(327, 67%, 73%)
CMYKcmyk(0%, 66.7%, 29.6%, 27.1%)
CIE-LABlab(46.35, 56.13, -11.78)
CIE-LCHlch(46.35, 57.36, 348.15°)
OKLaboklab(56.03% 0.1708 -0.0307)
OKLCHoklch(56.03% 0.174 349.8)
XYZxyz(26.0703, 15.5258, 23.0922)
Luminance0.1552 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3E83 #3EBA75
analogous
#B33EBA #BA3E83 #BA3E45
triadic
#BA3E83 #83BA3E #3E83BA
tetradic
#BA3E83 #BAB33E #3EBA75 #3E45BA
square
#BA3E83 #BAB33E #3EBA75 #3E45BA
split-complementary
#BA3E83 #45BA3E #3EBAB3
monochromatic
#5E1F42 #8C2F63 #BA3E83 #CD68A0 #DC96BD

Accessibility & contrast

On white

5.12
#BA3E83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#BA3E83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3E83
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3E83#FFFFFF#000000##FFFFFF
##BA3E831.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6085
Deuteranopia (green-blind)
#737680
Tritanopia (blue-blind)
#C7385B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba3e83;
/* rgb */ color: rgb(186, 62, 131);
/* oklch */ color: oklch(56.0% 0.174 349.8);
Tailwind
colors: {
  custom: {
    50: '#d37ca7',
    500: '#ba3e83',
    950: '#000000',
  },
}
SCSS
$custom: #ba3e83;
$custom-light: #d37ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3e83",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 131
  },
  "hsl": {
    "h": 326.613,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56032,
    "c": 0.17353,
    "h": 349.8
  },
  "luminance": 0.15523
}

Semantic roles & 50–950 ramp

primary
#BA3E83
secondary
#8CC8A7
accent
#DA8C4E
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA3E83

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

Preview Lab → · Contrast checker → · Palette generator →

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