#BA3E72#BA3E72

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

Color values

HEX#BA3E72
RGBrgb(186, 62, 114)
HSLhsl(335, 50%, 49%)
HSVhsv(335, 67%, 73%)
CMYKcmyk(0%, 66.7%, 38.7%, 27.1%)
CIE-LABlab(45.77, 54.14, -2.26)
CIE-LCHlch(45.77, 54.19, 357.61°)
OKLaboklab(55.42% 0.1657 -0.0053)
OKLCHoklch(55.42% 0.166 358.2)
XYZxyz(25.0112, 15.1022, 17.5142)
Luminance0.1510 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3E72 #3EBA86
analogous
#BA3EB0 #BA3E72 #BA483E
triadic
#BA3E72 #72BA3E #3E72BA
tetradic
#BA3E72 #B0BA3E #3EBA86 #483EBA
square
#BA3E72 #B0BA3E #3EBA86 #483EBA
split-complementary
#BA3E72 #3EBA48 #3EB0BA
monochromatic
#5E1F3A #8C2F56 #BA3E72 #CD6893 #DC96B4

Accessibility & contrast

On white

5.22
#BA3E72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA3E72
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3E72#FFFFFF#000000##FFFFFF
##BA3E721.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba3e72;
/* rgb */ color: rgb(186, 62, 114);
/* oklch */ color: oklch(55.4% 0.166 358.2);
Tailwind
colors: {
  custom: {
    50: '#d37b9a',
    500: '#ba3e72',
    950: '#000000',
  },
}
SCSS
$custom: #ba3e72;
$custom-light: #d37b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3e72",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 114
  },
  "hsl": {
    "h": 334.839,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55422,
    "c": 0.16578,
    "h": 358.2
  },
  "luminance": 0.15099
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA3E72

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

Preview Lab → · Contrast checker → · Palette generator →

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