#BA3E9D#BA3E9D

#BA3E9D is a mid, vivid pink. Relative luminance 0.163; OKLCH L 57.1% C 0.190 H 338.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#BA3E9D
RGBrgb(186, 62, 157)
HSLhsl(314, 50%, 49%)
HSVhsv(314, 67%, 73%)
CMYKcmyk(0%, 66.7%, 15.6%, 27.1%)
CIE-LABlab(47.39, 59.68, -25.81)
CIE-LCHlch(47.39, 65.02, 336.62°)
OKLaboklab(57.14% 0.1763 -0.0698)
OKLCHoklch(57.14% 0.19 338.4)
XYZxyz(28.0587, 16.3212, 33.5643)
Luminance0.1632 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3E9D #3EBA5B
analogous
#993EBA #BA3E9D #BA3E5F
triadic
#BA3E9D #9DBA3E #3E9DBA
tetradic
#BA3E9D #BA993E #3EBA5B #3E5FBA
square
#BA3E9D #BA993E #3EBA5B #3E5FBA
split-complementary
#BA3E9D #5FBA3E #3EBA99
monochromatic
#5E1F50 #8C2F76 #BA3E9D #CD68B5 #DC96CC

Accessibility & contrast

On white

4.93
#BA3E9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#BA3E9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3E9D
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3E9D#FFFFFF#000000##FFFFFF
##BA3E9D1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4364A0
Deuteranopia (green-blind)
#6A779A
Tritanopia (blue-blind)
#C44368
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba3e9d;
/* rgb */ color: rgb(186, 62, 157);
/* oklch */ color: oklch(57.1% 0.190 338.4);
Tailwind
colors: {
  custom: {
    50: '#d27cba',
    500: '#ba3e9d',
    950: '#000000',
  },
}
SCSS
$custom: #ba3e9d;
$custom-light: #d27cba;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3e9d",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 157
  },
  "hsl": {
    "h": 314.032,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57141,
    "c": 0.18965,
    "h": 338.4
  },
  "luminance": 0.16319
}

Semantic roles & 50–950 ramp

primary
#BA3E9D
secondary
#8CC89A
accent
#DA6F4E
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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