#BA3B76#BA3B76

#BA3B76 is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.2% C 0.171 H 355.7°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#BA3B76
RGBrgb(186, 59, 118)
HSLhsl(332, 52%, 48%)
HSVhsv(332, 68%, 73%)
CMYKcmyk(0%, 68.3%, 36.6%, 27.1%)
CIE-LABlab(45.47, 55.78, -5.17)
CIE-LCHlch(45.47, 56.02, 354.71°)
OKLaboklab(55.24% 0.1708 -0.0129)
OKLCHoklch(55.24% 0.171 355.7)
XYZxyz(25.0852, 14.8780, 18.6867)
Luminance0.1487 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3B76 #3BBA7F
analogous
#BA3BB5 #BA3B76 #BA3F3B
triadic
#BA3B76 #76BA3B #3B76BA
tetradic
#BA3B76 #B5BA3B #3BBA7F #3F3BBA
square
#BA3B76 #B5BA3B #3BBA7F #3F3BBA
split-complementary
#BA3B76 #3BBA3F #3BB5BA
monochromatic
#5D1E3B #8C2C59 #BA3B76 #CE6495 #DD93B5

Accessibility & contrast

On white

5.28
#BA3B76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#BA3B76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3B76
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3B76#FFFFFF#000000##FFFFFF
##BA3B761.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525D78
Deuteranopia (green-blind)
#757473
Tritanopia (blue-blind)
#C82F54
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba3b76;
/* rgb */ color: rgb(186, 59, 118);
/* oklch */ color: oklch(55.2% 0.171 355.7);
Tailwind
colors: {
  custom: {
    50: '#d37a9d',
    500: '#ba3b76',
    950: '#000000',
  },
}
SCSS
$custom: #ba3b76;
$custom-light: #d37a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3b76",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 118
  },
  "hsl": {
    "h": 332.126,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55237,
    "c": 0.17125,
    "h": 355.7
  },
  "luminance": 0.14875
}

Semantic roles & 50–950 ramp

primary
#BA3B76
secondary
#89C8AB
accent
#DB994D
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA3B76

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

Preview Lab → · Contrast checker → · Palette generator →

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