#BA2799#BA2799

#BA2799 is a mid, highly saturated pink. Relative luminance 0.142; OKLCH L 55.0% C 0.213 H 339.2°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#BA2799
RGBrgb(186, 39, 153)
HSLhsl(313, 65%, 44%)
HSVhsv(313, 79%, 73%)
CMYKcmyk(0%, 79%, 17.7%, 27.1%)
CIE-LABlab(44.51, 66.76, -27.90)
CIE-LCHlch(44.51, 72.35, 337.32°)
OKLaboklab(54.99% 0.1988 -0.0756)
OKLCHoklch(54.99% 0.213 339.2)
XYZxyz(26.7257, 14.1927, 31.4628)
Luminance0.1419 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2799 #27BA48
analogous
#9227BA #BA2799 #BA2750
triadic
#BA2799 #99BA27 #2799BA
tetradic
#BA2799 #BA9227 #27BA48 #2750BA
square
#BA2799 #BA9227 #27BA48 #2750BA
split-complementary
#BA2799 #50BA27 #27BA92
monochromatic
#551246 #871C6F #BA2799 #D846B7 #E379CB

Accessibility & contrast

On white

5.47
#BA2799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#BA2799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2799
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2799#FFFFFF#000000##FFFFFF
##BA27991.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315B9C
Deuteranopia (green-blind)
#637196
Tritanopia (blue-blind)
#C52E5E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba2799;
/* rgb */ color: rgb(186, 39, 153);
/* oklch */ color: oklch(55.0% 0.213 339.2);
Tailwind
colors: {
  custom: {
    50: '#d373b7',
    500: '#ba2799',
    950: '#000000',
  },
}
SCSS
$custom: #ba2799;
$custom-light: #d373b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2799",
  "rgb": {
    "r": 186,
    "g": 39,
    "b": 153
  },
  "hsl": {
    "h": 313.469,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54992,
    "c": 0.2127,
    "h": 339.2
  },
  "luminance": 0.1419
}

Semantic roles & 50–950 ramp

primary
#BA2799
secondary
#72CB86
accent
#E86540
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2799

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

Preview Lab → · Contrast checker → · Palette generator →

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