#BA2794#BA2794

#BA2794 is a mid, highly saturated pink. Relative luminance 0.140; OKLCH L 54.8% C 0.210 H 341.1°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#BA2794
RGBrgb(186, 39, 148)
HSLhsl(316, 65%, 44%)
HSVhsv(316, 79%, 73%)
CMYKcmyk(0%, 79%, 20.4%, 27.1%)
CIE-LABlab(44.28, 66.09, -25.24)
CIE-LCHlch(44.28, 70.75, 339.10°)
OKLaboklab(54.75% 0.1982 -0.068)
OKLCHoklch(54.75% 0.21 341.1)
XYZxyz(26.3214, 14.0310, 29.3333)
Luminance0.1403 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2794 #27BA4D
analogous
#9727BA #BA2794 #BA274B
triadic
#BA2794 #94BA27 #2794BA
tetradic
#BA2794 #BA9727 #27BA4D #274BBA
square
#BA2794 #BA9727 #27BA4D #274BBA
split-complementary
#BA2794 #4BBA27 #27BA97
monochromatic
#551243 #871C6C #BA2794 #D846B2 #E379C7

Accessibility & contrast

On white

5.52
#BA2794 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#BA2794 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2794
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2794#FFFFFF#000000##FFFFFF
##BA27941.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355A97
Deuteranopia (green-blind)
#657191
Tritanopia (blue-blind)
#C62B5C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba2794;
/* rgb */ color: rgb(186, 39, 148);
/* oklch */ color: oklch(54.8% 0.210 341.1);
Tailwind
colors: {
  custom: {
    50: '#d372b3',
    500: '#ba2794',
    950: '#000000',
  },
}
SCSS
$custom: #ba2794;
$custom-light: #d372b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2794",
  "rgb": {
    "r": 186,
    "g": 39,
    "b": 148
  },
  "hsl": {
    "h": 315.51,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54751,
    "c": 0.20956,
    "h": 341.1
  },
  "luminance": 0.14028
}

Semantic roles & 50–950 ramp

primary
#BA2794
secondary
#72CB89
accent
#E86B40
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2794

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

Preview Lab → · Contrast checker → · Palette generator →

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