#BA3B8F#BA3B8F

#BA3B8F is a mid, vivid pink. Relative luminance 0.155; OKLCH L 56.2% C 0.184 H 344.1°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#BA3B8F
RGBrgb(186, 59, 143)
HSLhsl(320, 52%, 48%)
HSVhsv(320, 68%, 73%)
CMYKcmyk(0%, 68.3%, 23.1%, 27.1%)
CIE-LABlab(46.38, 58.87, -18.98)
CIE-LCHlch(46.38, 61.85, 342.13°)
OKLaboklab(56.21% 0.1773 -0.0506)
OKLCHoklch(56.21% 0.184 344.1)
XYZxyz(26.7725, 15.5529, 27.5733)
Luminance0.1555 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3B8F #3BBA66
analogous
#A53BBA #BA3B8F #BA3B4F
triadic
#BA3B8F #8FBA3B #3B8FBA
tetradic
#BA3B8F #BAA53B #3BBA66 #3B4FBA
square
#BA3B8F #BAA53B #3BBA66 #3B4FBA
split-complementary
#BA3B8F #4FBA3B #3BBAA5
monochromatic
#5D1E48 #8C2C6B #BA3B8F #CE64AA #DD93C4

Accessibility & contrast

On white

5.11
#BA3B8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#BA3B8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3B8F
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3B8F#FFFFFF#000000##FFFFFF
##BA3B8F1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486091
Deuteranopia (green-blind)
#6E768C
Tritanopia (blue-blind)
#C63A60
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba3b8f;
/* rgb */ color: rgb(186, 59, 143);
/* oklch */ color: oklch(56.2% 0.184 344.1);
Tailwind
colors: {
  custom: {
    50: '#d27bb0',
    500: '#ba3b8f',
    950: '#000000',
  },
}
SCSS
$custom: #ba3b8f;
$custom-light: #d27bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3b8f",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 143
  },
  "hsl": {
    "h": 320.315,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5621,
    "c": 0.18435,
    "h": 344.1
  },
  "luminance": 0.1555
}

Semantic roles & 50–950 ramp

primary
#BA3B8F
secondary
#89C89E
accent
#DB7D4D
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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