#BA3E9F#BA3E9F

#BA3E9F is a mid, vivid pink. Relative luminance 0.164; OKLCH L 57.2% C 0.191 H 337.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#BA3E9F
RGBrgb(186, 62, 159)
HSLhsl(313, 50%, 49%)
HSVhsv(313, 67%, 73%)
CMYKcmyk(0%, 66.7%, 14.5%, 27.1%)
CIE-LABlab(47.48, 59.97, -26.86)
CIE-LCHlch(47.48, 65.71, 335.88°)
OKLaboklab(57.24% 0.1766 -0.0728)
OKLCHoklch(57.24% 0.191 337.6)
XYZxyz(28.2308, 16.3900, 34.4709)
Luminance0.1639 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3E9F #3EBA59
analogous
#973EBA #BA3E9F #BA3E61
triadic
#BA3E9F #9FBA3E #3E9FBA
tetradic
#BA3E9F #BA973E #3EBA59 #3E61BA
square
#BA3E9F #BA973E #3EBA59 #3E61BA
split-complementary
#BA3E9F #61BA3E #3EBA97
monochromatic
#5E1F51 #8C2F78 #BA3E9F #CD68B7 #DC96CD

Accessibility & contrast

On white

4.91
#BA3E9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#BA3E9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3E9F
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3E9F#FFFFFF#000000##FFFFFF
##BA3E9F1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4264A2
Deuteranopia (green-blind)
#6A789C
Tritanopia (blue-blind)
#C44469
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba3e9f;
/* rgb */ color: rgb(186, 62, 159);
/* oklch */ color: oklch(57.2% 0.191 337.6);
Tailwind
colors: {
  custom: {
    50: '#d27dbb',
    500: '#ba3e9f',
    950: '#000000',
  },
}
SCSS
$custom: #ba3e9f;
$custom-light: #d27dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3e9f",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 159
  },
  "hsl": {
    "h": 313.065,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57235,
    "c": 0.19105,
    "h": 337.6
  },
  "luminance": 0.16388
}

Semantic roles & 50–950 ramp

primary
#BA3E9F
secondary
#8CC899
accent
#DA6D4E
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BA3E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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