#BA3E7E#BA3E7E

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

Color values

HEX#BA3E7E
RGBrgb(186, 62, 126)
HSLhsl(329, 50%, 49%)
HSVhsv(329, 67%, 73%)
CMYKcmyk(0%, 66.7%, 32.3%, 27.1%)
CIE-LABlab(46.17, 55.52, -9.01)
CIE-LCHlch(46.17, 56.25, 350.79°)
OKLaboklab(55.84% 0.1694 -0.0232)
OKLCHoklch(55.84% 0.171 352.2)
XYZxyz(25.7396, 15.3935, 21.3504)
Luminance0.1539 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3E7E #3EBA7A
analogous
#B83EBA #BA3E7E #BA3E40
triadic
#BA3E7E #7EBA3E #3E7EBA
tetradic
#BA3E7E #BAB83E #3EBA7A #3E40BA
square
#BA3E7E #BAB83E #3EBA7A #3E40BA
split-complementary
#BA3E7E #40BA3E #3EBAB8
monochromatic
#5E1F40 #8C2F5F #BA3E7E #CD689C #DC96BA

Accessibility & contrast

On white

5.15
#BA3E7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA3E7E
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3E7E#FFFFFF#000000##FFFFFF
##BA3E7E1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515F80
Deuteranopia (green-blind)
#74767B
Tritanopia (blue-blind)
#C83659
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3e7e;
/* rgb */ color: rgb(186, 62, 126);
/* oklch */ color: oklch(55.8% 0.171 352.2);
Tailwind
colors: {
  custom: {
    50: '#d37ca3',
    500: '#ba3e7e',
    950: '#000000',
  },
}
SCSS
$custom: #ba3e7e;
$custom-light: #d37ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3e7e",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 126
  },
  "hsl": {
    "h": 329.032,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55843,
    "c": 0.17098,
    "h": 352.2
  },
  "luminance": 0.15391
}

Semantic roles & 50–950 ramp

primary
#BA3E7E
secondary
#8CC8A9
accent
#DA924E
background
#FDF7FA
surface
#FBEEF3
border
#D4C9CD
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA3E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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