#BA3B71#BA3B71

#BA3B71 is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.1% C 0.169 H 358.2°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#BA3B71
RGBrgb(186, 59, 113)
HSLhsl(334, 52%, 48%)
HSVhsv(334, 68%, 73%)
CMYKcmyk(0%, 68.3%, 39.2%, 27.1%)
CIE-LABlab(45.31, 55.23, -2.34)
CIE-LCHlch(45.31, 55.28, 357.58°)
OKLaboklab(55.07% 0.1692 -0.0054)
OKLCHoklch(55.07% 0.169 358.2)
XYZxyz(24.7959, 14.7622, 17.1632)
Luminance0.1476 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3B71 #3BBA84
analogous
#BA3BB0 #BA3B71 #BA443B
triadic
#BA3B71 #71BA3B #3B71BA
tetradic
#BA3B71 #B0BA3B #3BBA84 #443BBA
square
#BA3B71 #B0BA3B #3BBA84 #443BBA
split-complementary
#BA3B71 #3BBA44 #3BB0BA
monochromatic
#5D1E39 #8C2C55 #BA3B71 #CE6491 #DD93B2

Accessibility & contrast

On white

5.31
#BA3B71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#BA3B71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3B71
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3B71#FFFFFF#000000##FFFFFF
##BA3B711.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535C72
Deuteranopia (green-blind)
#76746E
Tritanopia (blue-blind)
#C92D51
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba3b71;
/* rgb */ color: rgb(186, 59, 113);
/* oklch */ color: oklch(55.1% 0.169 358.2);
Tailwind
colors: {
  custom: {
    50: '#d37a99',
    500: '#ba3b71',
    950: '#000000',
  },
}
SCSS
$custom: #ba3b71;
$custom-light: #d37a99;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3b71",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 113
  },
  "hsl": {
    "h": 334.488,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55067,
    "c": 0.16926,
    "h": 358.2
  },
  "luminance": 0.14759
}

Semantic roles & 50–950 ramp

primary
#BA3B71
secondary
#89C8AD
accent
#DB9F4D
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA3B71

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

Preview Lab → · Contrast checker → · Palette generator →

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