#BA3F85#BA3F85

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

Color values

HEX#BA3F85
RGBrgb(186, 63, 133)
HSLhsl(326, 49%, 49%)
HSVhsv(326, 66%, 73%)
CMYKcmyk(0%, 66.1%, 28.5%, 27.1%)
CIE-LABlab(46.57, 55.98, -12.66)
CIE-LCHlch(46.57, 57.40, 347.26°)
OKLaboklab(56.22% 0.1701 -0.0331)
OKLCHoklch(56.22% 0.173 349)
XYZxyz(26.2620, 15.6903, 23.8312)
Luminance0.1569 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3F85 #3FBA74
analogous
#B23FBA #BA3F85 #BA3F47
triadic
#BA3F85 #85BA3F #3F85BA
tetradic
#BA3F85 #BAB23F #3FBA74 #3F47BA
square
#BA3F85 #BAB23F #3FBA74 #3F47BA
split-complementary
#BA3F85 #47BA3F #3FBAB2
monochromatic
#5F2044 #8C3064 #BA3F85 #CC6AA2 #DC97BE

Accessibility & contrast

On white

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

On black

4.14
#BA3F85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA3F85#FFFFFF#000000##FFFFFF
##BA3F851.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6187
Deuteranopia (green-blind)
#727682
Tritanopia (blue-blind)
#C73A5C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba3f85;
/* rgb */ color: rgb(186, 63, 133);
/* oklch */ color: oklch(56.2% 0.173 349.0);
Tailwind
colors: {
  custom: {
    50: '#d37ca8',
    500: '#ba3f85',
    950: '#000000',
  },
}
SCSS
$custom: #ba3f85;
$custom-light: #d37ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3f85",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 133
  },
  "hsl": {
    "h": 325.854,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56217,
    "c": 0.17326,
    "h": 349
  },
  "luminance": 0.15688
}

Semantic roles & 50–950 ramp

primary
#BA3F85
secondary
#8DC8A6
accent
#D98A4F
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA3F85

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

Preview Lab → · Contrast checker → · Palette generator →

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