#BA3E7A#BA3E7A

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

Color values

HEX#BA3E7A
RGBrgb(186, 62, 122)
HSLhsl(331, 50%, 49%)
HSVhsv(331, 67%, 73%)
CMYKcmyk(0%, 66.7%, 34.4%, 27.1%)
CIE-LABlab(46.03, 55.04, -6.77)
CIE-LCHlch(46.03, 55.46, 352.99°)
OKLaboklab(55.7% 0.1682 -0.0172)
OKLCHoklch(55.7% 0.169 354.2)
XYZxyz(25.4866, 15.2924, 20.0181)
Luminance0.1529 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3E7A #3EBA7E
analogous
#BA3EB8 #BA3E7A #BA403E
triadic
#BA3E7A #7ABA3E #3E7ABA
tetradic
#BA3E7A #B8BA3E #3EBA7E #403EBA
square
#BA3E7A #B8BA3E #3EBA7E #403EBA
split-complementary
#BA3E7A #3EBA40 #3EB8BA
monochromatic
#5E1F3E #8C2F5C #BA3E7A #CD6899 #DC96B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3E7A#FFFFFF#000000##FFFFFF
##BA3E7A1.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)
#535F7C
Deuteranopia (green-blind)
#757577
Tritanopia (blue-blind)
#C83557
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3e7a;
/* rgb */ color: rgb(186, 62, 122);
/* oklch */ color: oklch(55.7% 0.169 354.2);
Tailwind
colors: {
  custom: {
    50: '#d37ca0',
    500: '#ba3e7a',
    950: '#000000',
  },
}
SCSS
$custom: #ba3e7a;
$custom-light: #d37ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3e7a",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 122
  },
  "hsl": {
    "h": 330.968,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55698,
    "c": 0.16911,
    "h": 354.2
  },
  "luminance": 0.15289
}

Semantic roles & 50–950 ramp

primary
#BA3E7A
secondary
#8CC8AB
accent
#DA964E
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA3E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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