#BA3D72#BA3D72

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

Color values

HEX#BA3D72
RGBrgb(186, 61, 114)
HSLhsl(335, 51%, 48%)
HSVhsv(335, 67%, 73%)
CMYKcmyk(0%, 67.2%, 38.7%, 27.1%)
CIE-LABlab(45.63, 54.55, -2.48)
CIE-LCHlch(45.63, 54.60, 357.40°)
OKLaboklab(55.31% 0.167 -0.0058)
OKLCHoklch(55.31% 0.167 358)
XYZxyz(24.9573, 14.9944, 17.4963)
Luminance0.1499 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3D72 #3DBA85
analogous
#BA3DB0 #BA3D72 #BA463D
triadic
#BA3D72 #72BA3D #3D72BA
tetradic
#BA3D72 #B0BA3D #3DBA85 #463DBA
square
#BA3D72 #B0BA3D #3DBA85 #463DBA
split-complementary
#BA3D72 #3DBA46 #3DB0BA
monochromatic
#5E1F3A #8C2E56 #BA3D72 #CD6792 #DC95B3

Accessibility & contrast

On white

5.25
#BA3D72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#BA3D72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3D72
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3D72#FFFFFF#000000##FFFFFF
##BA3D721.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545D73
Deuteranopia (green-blind)
#76756F
Tritanopia (blue-blind)
#C93053
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba3d72;
/* rgb */ color: rgb(186, 61, 114);
/* oklch */ color: oklch(55.3% 0.167 358.0);
Tailwind
colors: {
  custom: {
    50: '#d37b9a',
    500: '#ba3d72',
    950: '#000000',
  },
}
SCSS
$custom: #ba3d72;
$custom-light: #d37b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3d72",
  "rgb": {
    "r": 186,
    "g": 61,
    "b": 114
  },
  "hsl": {
    "h": 334.56,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55313,
    "c": 0.16708,
    "h": 358
  },
  "luminance": 0.14991
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA3D72

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

Preview Lab → · Contrast checker → · Palette generator →

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