#BA3E8F#BA3E8F

#BA3E8F is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.5% C 0.180 H 344.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#BA3E8F
RGBrgb(186, 62, 143)
HSLhsl(321, 50%, 49%)
HSVhsv(321, 67%, 73%)
CMYKcmyk(0%, 66.7%, 23.1%, 27.1%)
CIE-LABlab(46.80, 57.70, -18.33)
CIE-LCHlch(46.80, 60.54, 342.37°)
OKLaboklab(56.52% 0.1737 -0.0488)
OKLCHoklch(56.52% 0.18 344.3)
XYZxyz(26.9312, 15.8702, 27.6262)
Luminance0.1587 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3E8F #3EBA69
analogous
#A73EBA #BA3E8F #BA3E51
triadic
#BA3E8F #8FBA3E #3E8FBA
tetradic
#BA3E8F #BAA73E #3EBA69 #3E51BA
square
#BA3E8F #BAA73E #3EBA69 #3E51BA
split-complementary
#BA3E8F #51BA3E #3EBAA7
monochromatic
#5E1F48 #8C2F6C #BA3E8F #CD68AA #DC96C4

Accessibility & contrast

On white

5.03
#BA3E8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#BA3E8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3E8F
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3E8F#FFFFFF#000000##FFFFFF
##BA3E8F1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6291
Deuteranopia (green-blind)
#6F778C
Tritanopia (blue-blind)
#C63D61
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba3e8f;
/* rgb */ color: rgb(186, 62, 143);
/* oklch */ color: oklch(56.5% 0.180 344.3);
Tailwind
colors: {
  custom: {
    50: '#d27cb0',
    500: '#ba3e8f',
    950: '#000000',
  },
}
SCSS
$custom: #ba3e8f;
$custom-light: #d27cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3e8f",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 143
  },
  "hsl": {
    "h": 320.806,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56518,
    "c": 0.18042,
    "h": 344.3
  },
  "luminance": 0.15868
}

Semantic roles & 50–950 ramp

primary
#BA3E8F
secondary
#8CC8A1
accent
#DA7F4E
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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