#BA3F88#BA3F88

#BA3F88 is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.3% C 0.175 H 347.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#BA3F88
RGBrgb(186, 63, 136)
HSLhsl(324, 49%, 49%)
HSVhsv(324, 66%, 73%)
CMYKcmyk(0%, 66.1%, 26.9%, 27.1%)
CIE-LABlab(46.68, 56.37, -14.30)
CIE-LCHlch(46.68, 58.16, 345.76°)
OKLaboklab(56.34% 0.1708 -0.0377)
OKLCHoklch(56.34% 0.175 347.6)
XYZxyz(26.4723, 15.7744, 24.9384)
Luminance0.1577 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3F88 #3FBA71
analogous
#AF3FBA #BA3F88 #BA3F4B
triadic
#BA3F88 #88BA3F #3F88BA
tetradic
#BA3F88 #BAAF3F #3FBA71 #3F4BBA
square
#BA3F88 #BAAF3F #3FBA71 #3F4BBA
split-complementary
#BA3F88 #4BBA3F #3FBAAF
monochromatic
#5F2045 #8C3067 #BA3F88 #CC6AA4 #DC97C0

Accessibility & contrast

On white

5.05
#BA3F88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#BA3F88 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3F88
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3F88#FFFFFF#000000##FFFFFF
##BA3F881.005.054.155.05
#FFFFFF5.051.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E618A
Deuteranopia (green-blind)
#727685
Tritanopia (blue-blind)
#C73B5E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba3f88;
/* rgb */ color: rgb(186, 63, 136);
/* oklch */ color: oklch(56.3% 0.175 347.6);
Tailwind
colors: {
  custom: {
    50: '#d27caa',
    500: '#ba3f88',
    950: '#000000',
  },
}
SCSS
$custom: #ba3f88;
$custom-light: #d27caa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3f88",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 136
  },
  "hsl": {
    "h": 324.39,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56336,
    "c": 0.17493,
    "h": 347.6
  },
  "luminance": 0.15772
}

Semantic roles & 50–950 ramp

primary
#BA3F88
secondary
#8DC8A5
accent
#D9874F
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3F88

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

Preview Lab → · Contrast checker → · Palette generator →

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