#BA3E71#BA3E71

#BA3E71 is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.4% C 0.165 H 358.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#BA3E71
RGBrgb(186, 62, 113)
HSLhsl(335, 50%, 49%)
HSVhsv(335, 67%, 73%)
CMYKcmyk(0%, 66.7%, 39.2%, 27.1%)
CIE-LABlab(45.74, 54.03, -1.70)
CIE-LCHlch(45.74, 54.06, 358.20°)
OKLaboklab(55.39% 0.1654 -0.0038)
OKLCHoklch(55.39% 0.165 358.7)
XYZxyz(24.9546, 15.0795, 17.2161)
Luminance0.1508 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3E71 #3EBA87
analogous
#BA3EAF #BA3E71 #BA493E
triadic
#BA3E71 #71BA3E #3E71BA
tetradic
#BA3E71 #AFBA3E #3EBA87 #493EBA
square
#BA3E71 #AFBA3E #3EBA87 #493EBA
split-complementary
#BA3E71 #3EBA49 #3EAFBA
monochromatic
#5E1F39 #8C2F55 #BA3E71 #CD6892 #DC96B3

Accessibility & contrast

On white

5.23
#BA3E71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#BA3E71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3E71
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3E71#FFFFFF#000000##FFFFFF
##BA3E711.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555D72
Deuteranopia (green-blind)
#77756E
Tritanopia (blue-blind)
#C93153
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba3e71;
/* rgb */ color: rgb(186, 62, 113);
/* oklch */ color: oklch(55.4% 0.165 358.7);
Tailwind
colors: {
  custom: {
    50: '#d37b99',
    500: '#ba3e71',
    950: '#000000',
  },
}
SCSS
$custom: #ba3e71;
$custom-light: #d37b99;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3e71",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 113
  },
  "hsl": {
    "h": 335.323,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55389,
    "c": 0.16541,
    "h": 358.7
  },
  "luminance": 0.15077
}

Semantic roles & 50–950 ramp

primary
#BA3E71
secondary
#8CC8AF
accent
#DAA04E
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA3E71

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

Preview Lab → · Contrast checker → · Palette generator →

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