#BA2D79#BA2D79

#BA2D79 is a mid, vivid pink. Relative luminance 0.137; OKLCH L 54.0% C 0.189 H 352.6°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#BA2D79
RGBrgb(186, 45, 121)
HSLhsl(328, 61%, 45%)
HSVhsv(328, 76%, 73%)
CMYKcmyk(0%, 75.8%, 34.9%, 27.1%)
CIE-LABlab(43.80, 61.06, -9.50)
CIE-LCHlch(43.80, 61.80, 351.16°)
OKLaboklab(54.05% 0.1873 -0.0244)
OKLCHoklch(54.05% 0.189 352.6)
XYZxyz(24.6408, 13.6993, 19.4321)
Luminance0.1370 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2D79 #2DBA6E
analogous
#B52DBA #BA2D79 #BA2D32
triadic
#BA2D79 #79BA2D #2D79BA
tetradic
#BA2D79 #BAB52D #2DBA6E #2D32BA
square
#BA2D79 #BAB52D #2DBA6E #2D32BA
split-complementary
#BA2D79 #32BA2D #2DBAB5
monochromatic
#571539 #892159 #BA2D79 #D55097 #E081B4

Accessibility & contrast

On white

5.62
#BA2D79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#BA2D79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2D79
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2D79#FFFFFF#000000##FFFFFF
##BA2D791.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47577B
Deuteranopia (green-blind)
#6F7176
Tritanopia (blue-blind)
#C8204F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba2d79;
/* rgb */ color: rgb(186, 45, 121);
/* oklch */ color: oklch(54.0% 0.189 352.6);
Tailwind
colors: {
  custom: {
    50: '#d4749f',
    500: '#ba2d79',
    950: '#000000',
  },
}
SCSS
$custom: #ba2d79;
$custom-light: #d4749f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2d79",
  "rgb": {
    "r": 186,
    "g": 45,
    "b": 121
  },
  "hsl": {
    "h": 327.66,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54046,
    "c": 0.18885,
    "h": 352.6
  },
  "luminance": 0.13696
}

Semantic roles & 50–950 ramp

primary
#BA2D79
secondary
#79C99E
accent
#E48E44
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA2D79

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

Preview Lab → · Contrast checker → · Palette generator →

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