#BA3D7E#BA3D7E

#BA3D7E is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.7% C 0.172 H 352.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#BA3D7E
RGBrgb(186, 61, 126)
HSLhsl(329, 51%, 48%)
HSVhsv(329, 67%, 73%)
CMYKcmyk(0%, 67.2%, 32.3%, 27.1%)
CIE-LABlab(46.02, 55.92, -9.22)
CIE-LCHlch(46.02, 56.68, 350.63°)
OKLaboklab(55.74% 0.1707 -0.0238)
OKLCHoklch(55.74% 0.172 352.1)
XYZxyz(25.6857, 15.2858, 21.3324)
Luminance0.1528 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3D7E #3DBA79
analogous
#B73DBA #BA3D7E #BA3D3F
triadic
#BA3D7E #7EBA3D #3D7EBA
tetradic
#BA3D7E #BAB73D #3DBA79 #3D3FBA
square
#BA3D7E #BAB73D #3DBA79 #3D3FBA
split-complementary
#BA3D7E #3FBA3D #3DBAB7
monochromatic
#5E1F40 #8C2E5F #BA3D7E #CD679C #DC95BA

Accessibility & contrast

On white

5.18
#BA3D7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#BA3D7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3D7E
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3D7E#FFFFFF#000000##FFFFFF
##BA3D7E1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505F80
Deuteranopia (green-blind)
#73757B
Tritanopia (blue-blind)
#C83558
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3d7e;
/* rgb */ color: rgb(186, 61, 126);
/* oklch */ color: oklch(55.7% 0.172 352.1);
Tailwind
colors: {
  custom: {
    50: '#d37ba3',
    500: '#ba3d7e',
    950: '#000000',
  },
}
SCSS
$custom: #ba3d7e;
$custom-light: #d37ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3d7e",
  "rgb": {
    "r": 186,
    "g": 61,
    "b": 126
  },
  "hsl": {
    "h": 328.8,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55736,
    "c": 0.1723,
    "h": 352.1
  },
  "luminance": 0.15283
}

Semantic roles & 50–950 ramp

primary
#BA3D7E
secondary
#8BC8A8
accent
#DA914E
background
#FDF7FA
surface
#FBEEF3
border
#D4C9CD
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA3D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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