#BA3E76#BA3E76

#BA3E76 is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.6% C 0.167 H 356.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#BA3E76
RGBrgb(186, 62, 118)
HSLhsl(333, 50%, 49%)
HSVhsv(333, 67%, 73%)
CMYKcmyk(0%, 66.7%, 36.6%, 27.1%)
CIE-LABlab(45.90, 54.59, -4.52)
CIE-LCHlch(45.90, 54.77, 355.26°)
OKLaboklab(55.56% 0.167 -0.0112)
OKLCHoklch(55.56% 0.167 356.2)
XYZxyz(25.2439, 15.1953, 18.7396)
Luminance0.1519 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3E76 #3EBA82
analogous
#BA3EB4 #BA3E76 #BA443E
triadic
#BA3E76 #76BA3E #3E76BA
tetradic
#BA3E76 #B4BA3E #3EBA82 #443EBA
square
#BA3E76 #B4BA3E #3EBA82 #443EBA
split-complementary
#BA3E76 #3EBA44 #3EB4BA
monochromatic
#5E1F3C #8C2F59 #BA3E76 #CD6896 #DC96B6

Accessibility & contrast

On white

5.20
#BA3E76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#BA3E76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3E76
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3E76#FFFFFF#000000##FFFFFF
##BA3E761.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545E78
Deuteranopia (green-blind)
#767573
Tritanopia (blue-blind)
#C83355
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3e76;
/* rgb */ color: rgb(186, 62, 118);
/* oklch */ color: oklch(55.6% 0.167 356.2);
Tailwind
colors: {
  custom: {
    50: '#d37b9d',
    500: '#ba3e76',
    950: '#000000',
  },
}
SCSS
$custom: #ba3e76;
$custom-light: #d37b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3e76",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 118
  },
  "hsl": {
    "h": 332.903,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55557,
    "c": 0.16737,
    "h": 356.2
  },
  "luminance": 0.15192
}

Semantic roles & 50–950 ramp

primary
#BA3E76
secondary
#8CC8AD
accent
#DA9B4E
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA3E76

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

Preview Lab → · Contrast checker → · Palette generator →

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