#BA3D71#BA3D71

#BA3D71 is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.3% C 0.167 H 358.5°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#BA3D71
RGBrgb(186, 61, 113)
HSLhsl(335, 51%, 48%)
HSVhsv(335, 67%, 73%)
CMYKcmyk(0%, 67.2%, 39.2%, 27.1%)
CIE-LABlab(45.60, 54.44, -1.91)
CIE-LCHlch(45.60, 54.47, 357.99°)
OKLaboklab(55.28% 0.1667 -0.0043)
OKLCHoklch(55.28% 0.167 358.5)
XYZxyz(24.9007, 14.9718, 17.1981)
Luminance0.1497 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3D71 #3DBA86
analogous
#BA3DAF #BA3D71 #BA473D
triadic
#BA3D71 #71BA3D #3D71BA
tetradic
#BA3D71 #AFBA3D #3DBA86 #473DBA
square
#BA3D71 #AFBA3D #3DBA86 #473DBA
split-complementary
#BA3D71 #3DBA47 #3DAFBA
monochromatic
#5E1F39 #8C2E55 #BA3D71 #CD6792 #DC95B3

Accessibility & contrast

On white

5.26
#BA3D71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#BA3D71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3D71
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3D71#FFFFFF#000000##FFFFFF
##BA3D711.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba3d71;
/* rgb */ color: rgb(186, 61, 113);
/* oklch */ color: oklch(55.3% 0.167 358.5);
Tailwind
colors: {
  custom: {
    50: '#d37b99',
    500: '#ba3d71',
    950: '#000000',
  },
}
SCSS
$custom: #ba3d71;
$custom-light: #d37b99;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3d71",
  "rgb": {
    "r": 186,
    "g": 61,
    "b": 113
  },
  "hsl": {
    "h": 335.04,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5528,
    "c": 0.16671,
    "h": 358.5
  },
  "luminance": 0.14969
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA3D71

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

Preview Lab → · Contrast checker → · Palette generator →

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