#BA3E7F#BA3E7F

#BA3E7F is a mid, vivid pink. Relative luminance 0.154; OKLCH L 55.9% C 0.171 H 351.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#BA3E7F
RGBrgb(186, 62, 127)
HSLhsl(329, 50%, 49%)
HSVhsv(329, 67%, 73%)
CMYKcmyk(0%, 66.7%, 31.7%, 27.1%)
CIE-LABlab(46.20, 55.64, -9.56)
CIE-LCHlch(46.20, 56.46, 350.25°)
OKLaboklab(55.88% 0.1697 -0.0247)
OKLCHoklch(55.88% 0.171 351.7)
XYZxyz(25.8044, 15.4195, 21.6919)
Luminance0.1542 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3E7F #3EBA79
analogous
#B73EBA #BA3E7F #BA3E41
triadic
#BA3E7F #7FBA3E #3E7FBA
tetradic
#BA3E7F #BAB73E #3EBA79 #3E41BA
square
#BA3E7F #BAB73E #3EBA79 #3E41BA
split-complementary
#BA3E7F #41BA3E #3EBAB7
monochromatic
#5E1F40 #8C2F60 #BA3E7F #CD689D #DC96BB

Accessibility & contrast

On white

5.14
#BA3E7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#BA3E7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3E7F
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3E7F#FFFFFF#000000##FFFFFF
##BA3E7F1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515F81
Deuteranopia (green-blind)
#74767C
Tritanopia (blue-blind)
#C83759
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3e7f;
/* rgb */ color: rgb(186, 62, 127);
/* oklch */ color: oklch(55.9% 0.171 351.7);
Tailwind
colors: {
  custom: {
    50: '#d37ca4',
    500: '#ba3e7f',
    950: '#000000',
  },
}
SCSS
$custom: #ba3e7f;
$custom-light: #d37ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3e7f",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 127
  },
  "hsl": {
    "h": 328.548,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5588,
    "c": 0.17148,
    "h": 351.7
  },
  "luminance": 0.15417
}

Semantic roles & 50–950 ramp

primary
#BA3E7F
secondary
#8CC8A8
accent
#DA914E
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA3E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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