#BA3F77#BA3F77

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

Color values

HEX#BA3F77
RGBrgb(186, 63, 119)
HSLhsl(333, 49%, 49%)
HSVhsv(333, 66%, 73%)
CMYKcmyk(0%, 66.1%, 36%, 27.1%)
CIE-LABlab(46.08, 54.29, -4.87)
CIE-LCHlch(46.08, 54.51, 354.88°)
OKLaboklab(55.7% 0.166 -0.0121)
OKLCHoklch(55.7% 0.166 355.8)
XYZxyz(25.3585, 15.3289, 19.0725)
Luminance0.1533 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3F77 #3FBA82
analogous
#BA3FB5 #BA3F77 #BA453F
triadic
#BA3F77 #77BA3F #3F77BA
tetradic
#BA3F77 #B5BA3F #3FBA82 #453FBA
square
#BA3F77 #B5BA3F #3FBA82 #453FBA
split-complementary
#BA3F77 #3FBA45 #3FB5BA
monochromatic
#5F203D #8C305A #BA3F77 #CC6A97 #DC97B7

Accessibility & contrast

On white

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

On black

4.07
#BA3F77 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA3F77#FFFFFF#000000##FFFFFF
##BA3F771.005.174.075.17
#FFFFFF5.171.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545F79
Deuteranopia (green-blind)
#767674
Tritanopia (blue-blind)
#C83556
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3f77;
/* rgb */ color: rgb(186, 63, 119);
/* oklch */ color: oklch(55.7% 0.166 355.8);
Tailwind
colors: {
  custom: {
    50: '#d37c9e',
    500: '#ba3f77',
    950: '#000000',
  },
}
SCSS
$custom: #ba3f77;
$custom-light: #d37c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3f77",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 119
  },
  "hsl": {
    "h": 332.683,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55702,
    "c": 0.16646,
    "h": 355.8
  },
  "luminance": 0.15326
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA3F77

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

Preview Lab → · Contrast checker → · Palette generator →

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