#BA3F76#BA3F76

#BA3F76 is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.7% C 0.166 H 356.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#BA3F76
RGBrgb(186, 63, 118)
HSLhsl(333, 49%, 49%)
HSVhsv(333, 66%, 73%)
CMYKcmyk(0%, 66.1%, 36.6%, 27.1%)
CIE-LABlab(46.05, 54.18, -4.30)
CIE-LCHlch(46.05, 54.35, 355.46°)
OKLaboklab(55.67% 0.1657 -0.0106)
OKLCHoklch(55.67% 0.166 356.3)
XYZxyz(25.2987, 15.3050, 18.7579)
Luminance0.1530 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3F76 #3FBA83
analogous
#BA3FB4 #BA3F76 #BA463F
triadic
#BA3F76 #76BA3F #3F76BA
tetradic
#BA3F76 #B4BA3F #3FBA83 #463FBA
square
#BA3F76 #B4BA3F #3FBA83 #463FBA
split-complementary
#BA3F76 #3FBA46 #3FB4BA
monochromatic
#5F203C #8C3059 #BA3F76 #CC6A96 #DC97B6

Accessibility & contrast

On white

5.17
#BA3F76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#BA3F76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3F76
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3F76#FFFFFF#000000##FFFFFF
##BA3F761.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555F78
Deuteranopia (green-blind)
#767673
Tritanopia (blue-blind)
#C83455
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3f76;
/* rgb */ color: rgb(186, 63, 118);
/* oklch */ color: oklch(55.7% 0.166 356.3);
Tailwind
colors: {
  custom: {
    50: '#d37c9d',
    500: '#ba3f76',
    950: '#000000',
  },
}
SCSS
$custom: #ba3f76;
$custom-light: #d37c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3f76",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 118
  },
  "hsl": {
    "h": 333.171,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55667,
    "c": 0.16605,
    "h": 356.3
  },
  "luminance": 0.15302
}

Semantic roles & 50–950 ramp

primary
#BA3F76
secondary
#8DC8AD
accent
#D99B4F
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA3F76

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

Preview Lab → · Contrast checker → · Palette generator →

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