#BA3C8F#BA3C8F

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

Color values

HEX#BA3C8F
RGBrgb(186, 60, 143)
HSLhsl(320, 51%, 48%)
HSVhsv(320, 68%, 73%)
CMYKcmyk(0%, 67.7%, 23.1%, 27.1%)
CIE-LABlab(46.52, 58.48, -18.77)
CIE-LCHlch(46.52, 61.42, 342.21°)
OKLaboklab(56.31% 0.1761 -0.05)
OKLCHoklch(56.31% 0.183 344.1)
XYZxyz(26.8244, 15.6567, 27.5906)
Luminance0.1565 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3C8F #3CBA67
analogous
#A63CBA #BA3C8F #BA3C50
triadic
#BA3C8F #8FBA3C #3C8FBA
tetradic
#BA3C8F #BAA63C #3CBA67 #3C50BA
square
#BA3C8F #BAA63C #3CBA67 #3C50BA
split-complementary
#BA3C8F #50BA3C #3CBAA6
monochromatic
#5D1E48 #8C2D6B #BA3C8F #CE66AA #DC94C4

Accessibility & contrast

On white

5.08
#BA3C8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#BA3C8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3C8F
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3C8F#FFFFFF#000000##FFFFFF
##BA3C8F1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba3c8f;
/* rgb */ color: rgb(186, 60, 143);
/* oklch */ color: oklch(56.3% 0.183 344.1);
Tailwind
colors: {
  custom: {
    50: '#d27bb0',
    500: '#ba3c8f',
    950: '#000000',
  },
}
SCSS
$custom: #ba3c8f;
$custom-light: #d27bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3c8f",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 143
  },
  "hsl": {
    "h": 320.476,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56311,
    "c": 0.18306,
    "h": 344.1
  },
  "luminance": 0.15654
}

Semantic roles & 50–950 ramp

primary
#BA3C8F
secondary
#8AC89F
accent
#DB7D4D
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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