#BA3E9B#BA3E9B

#BA3E9B is a mid, vivid pink. Relative luminance 0.163; OKLCH L 57.0% C 0.188 H 339.2°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#BA3E9B
RGBrgb(186, 62, 155)
HSLhsl(315, 50%, 49%)
HSVhsv(315, 67%, 73%)
CMYKcmyk(0%, 66.7%, 16.7%, 27.1%)
CIE-LABlab(47.31, 59.39, -24.75)
CIE-LCHlch(47.31, 64.34, 337.38°)
OKLaboklab(57.05% 0.176 -0.0668)
OKLCHoklch(57.05% 0.188 339.2)
XYZxyz(27.8893, 16.2534, 32.6724)
Luminance0.1625 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3E9B #3EBA5D
analogous
#9B3EBA #BA3E9B #BA3E5D
triadic
#BA3E9B #9BBA3E #3E9BBA
tetradic
#BA3E9B #BA9B3E #3EBA5D #3E5DBA
square
#BA3E9B #BA9B3E #3EBA5D #3E5DBA
split-complementary
#BA3E9B #5DBA3E #3EBA9B
monochromatic
#5E1F4E #8C2F75 #BA3E9B #CD68B4 #DC96CB

Accessibility & contrast

On white

4.94
#BA3E9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#BA3E9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3E9B
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3E9B#FFFFFF#000000##FFFFFF
##BA3E9B1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44649E
Deuteranopia (green-blind)
#6B7798
Tritanopia (blue-blind)
#C44267
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba3e9b;
/* rgb */ color: rgb(186, 62, 155);
/* oklch */ color: oklch(57.0% 0.188 339.2);
Tailwind
colors: {
  custom: {
    50: '#d27cb8',
    500: '#ba3e9b',
    950: '#000000',
  },
}
SCSS
$custom: #ba3e9b;
$custom-light: #d27cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3e9b",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 155
  },
  "hsl": {
    "h": 315,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57049,
    "c": 0.18827,
    "h": 339.2
  },
  "luminance": 0.16251
}

Semantic roles & 50–950 ramp

primary
#BA3E9B
secondary
#8CC89B
accent
#DA714E
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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