#BA3E8A#BA3E8A

#BA3E8A is a mid, vivid pink. Relative luminance 0.157; OKLCH L 56.3% C 0.177 H 346.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#BA3E8A
RGBrgb(186, 62, 138)
HSLhsl(323, 50%, 49%)
HSVhsv(323, 67%, 73%)
CMYKcmyk(0%, 66.7%, 25.8%, 27.1%)
CIE-LABlab(46.61, 57.03, -15.62)
CIE-LCHlch(46.61, 59.13, 344.69°)
OKLaboklab(56.31% 0.1726 -0.0413)
OKLCHoklch(56.31% 0.177 346.5)
XYZxyz(26.5608, 15.7220, 25.6757)
Luminance0.1572 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3E8A #3EBA6E
analogous
#AC3EBA #BA3E8A #BA3E4C
triadic
#BA3E8A #8ABA3E #3E8ABA
tetradic
#BA3E8A #BAAC3E #3EBA6E #3E4CBA
square
#BA3E8A #BAAC3E #3EBA6E #3E4CBA
split-complementary
#BA3E8A #4CBA3E #3EBAAC
monochromatic
#5E1F46 #8C2F68 #BA3E8A #CD68A6 #DC96C1

Accessibility & contrast

On white

5.07
#BA3E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#BA3E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3E8A
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3E8A#FFFFFF#000000##FFFFFF
##BA3E8A1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D618C
Deuteranopia (green-blind)
#717687
Tritanopia (blue-blind)
#C63B5E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba3e8a;
/* rgb */ color: rgb(186, 62, 138);
/* oklch */ color: oklch(56.3% 0.177 346.5);
Tailwind
colors: {
  custom: {
    50: '#d27cac',
    500: '#ba3e8a',
    950: '#000000',
  },
}
SCSS
$custom: #ba3e8a;
$custom-light: #d27cac;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3e8a",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 138
  },
  "hsl": {
    "h": 323.226,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5631,
    "c": 0.17743,
    "h": 346.5
  },
  "luminance": 0.15719
}

Semantic roles & 50–950 ramp

primary
#BA3E8A
secondary
#8CC8A3
accent
#DA844E
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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