#BA3C8E#BA3C8E

#BA3C8E is a mid, vivid pink. Relative luminance 0.156; OKLCH L 56.3% C 0.182 H 344.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#BA3C8E
RGBrgb(186, 60, 142)
HSLhsl(321, 51%, 48%)
HSVhsv(321, 68%, 73%)
CMYKcmyk(0%, 67.7%, 23.7%, 27.1%)
CIE-LABlab(46.48, 58.35, -18.22)
CIE-LCHlch(46.48, 61.13, 342.65°)
OKLaboklab(56.27% 0.1759 -0.0485)
OKLCHoklch(56.27% 0.182 344.6)
XYZxyz(26.7490, 15.6265, 27.1934)
Luminance0.1562 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3C8E #3CBA68
analogous
#A73CBA #BA3C8E #BA3C4F
triadic
#BA3C8E #8EBA3C #3C8EBA
tetradic
#BA3C8E #BAA73C #3CBA68 #3C4FBA
square
#BA3C8E #BAA73C #3CBA68 #3C4FBA
split-complementary
#BA3C8E #4FBA3C #3CBAA7
monochromatic
#5D1E47 #8C2D6B #BA3C8E #CE66A9 #DC94C3

Accessibility & contrast

On white

5.09
#BA3C8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#BA3C8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3C8E
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3C8E#FFFFFF#000000##FFFFFF
##BA3C8E1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496190
Deuteranopia (green-blind)
#6F768B
Tritanopia (blue-blind)
#C63B60
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba3c8e;
/* rgb */ color: rgb(186, 60, 142);
/* oklch */ color: oklch(56.3% 0.182 344.6);
Tailwind
colors: {
  custom: {
    50: '#d27baf',
    500: '#ba3c8e',
    950: '#000000',
  },
}
SCSS
$custom: #ba3c8e;
$custom-light: #d27baf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3c8e",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 142
  },
  "hsl": {
    "h": 320.952,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56268,
    "c": 0.18245,
    "h": 344.6
  },
  "luminance": 0.15624
}

Semantic roles & 50–950 ramp

primary
#BA3C8E
secondary
#8AC8A0
accent
#DB7F4D
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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