#BA2F79#BA2F79

#BA2F79 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.2% C 0.187 H 352.8°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#BA2F79
RGBrgb(186, 47, 121)
HSLhsl(328, 60%, 46%)
HSVhsv(328, 75%, 73%)
CMYKcmyk(0%, 74.7%, 34.9%, 27.1%)
CIE-LABlab(44.03, 60.42, -9.16)
CIE-LCHlch(44.03, 61.12, 351.38°)
OKLaboklab(54.21% 0.1852 -0.0235)
OKLCHoklch(54.21% 0.187 352.8)
XYZxyz(24.7189, 13.8556, 19.4581)
Luminance0.1385 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2F79 #2FBA70
analogous
#B62FBA #BA2F79 #BA2F33
triadic
#BA2F79 #79BA2F #2F79BA
tetradic
#BA2F79 #BAB62F #2FBA70 #2F33BA
square
#BA2F79 #BAB62F #2FBA70 #2F33BA
split-complementary
#BA2F79 #33BA2F #2FBAB6
monochromatic
#581639 #892359 #BA2F79 #D35397 #E084B5

Accessibility & contrast

On white

5.57
#BA2F79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#BA2F79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2F79
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2F79#FFFFFF#000000##FFFFFF
##BA2F791.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48587B
Deuteranopia (green-blind)
#707176
Tritanopia (blue-blind)
#C82250
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba2f79;
/* rgb */ color: rgb(186, 47, 121);
/* oklch */ color: oklch(54.2% 0.187 352.8);
Tailwind
colors: {
  custom: {
    50: '#d3749f',
    500: '#ba2f79',
    950: '#000000',
  },
}
SCSS
$custom: #ba2f79;
$custom-light: #d3749f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2f79",
  "rgb": {
    "r": 186,
    "g": 47,
    "b": 121
  },
  "hsl": {
    "h": 328.058,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54212,
    "c": 0.18673,
    "h": 352.8
  },
  "luminance": 0.13853
}

Semantic roles & 50–950 ramp

primary
#BA2F79
secondary
#7CC9A0
accent
#E38F45
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA2F79

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

Preview Lab → · Contrast checker → · Palette generator →

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