#BA2F76#BA2F76

#BA2F76 is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.1% C 0.185 H 354.1°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#BA2F76
RGBrgb(186, 47, 118)
HSLhsl(329, 60%, 46%)
HSVhsv(329, 75%, 73%)
CMYKcmyk(0%, 74.7%, 36.6%, 27.1%)
CIE-LABlab(43.92, 60.10, -7.47)
CIE-LCHlch(43.92, 60.56, 352.91°)
OKLaboklab(54.1% 0.1844 -0.019)
OKLCHoklch(54.1% 0.185 354.1)
XYZxyz(24.5378, 13.7831, 18.5043)
Luminance0.1378 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2F76 #2FBA73
analogous
#B92FBA #BA2F76 #BA2F30
triadic
#BA2F76 #76BA2F #2F76BA
tetradic
#BA2F76 #BAB92F #2FBA73 #2F30BA
square
#BA2F76 #BAB92F #2FBA73 #2F30BA
split-complementary
#BA2F76 #30BA2F #2FBAB9
monochromatic
#581638 #892357 #BA2F76 #D35394 #E084B3

Accessibility & contrast

On white

5.59
#BA2F76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#BA2F76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2F76
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2F76#FFFFFF#000000##FFFFFF
##BA2F761.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5878
Deuteranopia (green-blind)
#707173
Tritanopia (blue-blind)
#C9204E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba2f76;
/* rgb */ color: rgb(186, 47, 118);
/* oklch */ color: oklch(54.1% 0.185 354.1);
Tailwind
colors: {
  custom: {
    50: '#d4749d',
    500: '#ba2f76',
    950: '#000000',
  },
}
SCSS
$custom: #ba2f76;
$custom-light: #d4749d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2f76",
  "rgb": {
    "r": 186,
    "g": 47,
    "b": 118
  },
  "hsl": {
    "h": 329.353,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54101,
    "c": 0.18538,
    "h": 354.1
  },
  "luminance": 0.1378
}

Semantic roles & 50–950 ramp

primary
#BA2F76
secondary
#7CC9A2
accent
#E39245
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA2F76

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

Preview Lab → · Contrast checker → · Palette generator →

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