#BA2793#BA2793

#BA2793 is a mid, highly saturated pink. Relative luminance 0.140; OKLCH L 54.7% C 0.209 H 341.4°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#BA2793
RGBrgb(186, 39, 147)
HSLhsl(316, 65%, 44%)
HSVhsv(316, 79%, 73%)
CMYKcmyk(0%, 79%, 21%, 27.1%)
CIE-LABlab(44.23, 65.96, -24.71)
CIE-LCHlch(44.23, 70.44, 339.46°)
OKLaboklab(54.7% 0.1981 -0.0665)
OKLCHoklch(54.7% 0.209 341.4)
XYZxyz(26.2426, 13.9995, 28.9182)
Luminance0.1400 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2793 #27BA4E
analogous
#9827BA #BA2793 #BA274A
triadic
#BA2793 #93BA27 #2793BA
tetradic
#BA2793 #BA9827 #27BA4E #274ABA
square
#BA2793 #BA9827 #27BA4E #274ABA
split-complementary
#BA2793 #4ABA27 #27BA98
monochromatic
#551243 #871C6B #BA2793 #D846B1 #E379C7

Accessibility & contrast

On white

5.53
#BA2793 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#BA2793 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2793
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2793#FFFFFF#000000##FFFFFF
##BA27931.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365A96
Deuteranopia (green-blind)
#657190
Tritanopia (blue-blind)
#C62A5B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba2793;
/* rgb */ color: rgb(186, 39, 147);
/* oklch */ color: oklch(54.7% 0.209 341.4);
Tailwind
colors: {
  custom: {
    50: '#d372b3',
    500: '#ba2793',
    950: '#000000',
  },
}
SCSS
$custom: #ba2793;
$custom-light: #d372b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2793",
  "rgb": {
    "r": 186,
    "g": 39,
    "b": 147
  },
  "hsl": {
    "h": 315.918,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54704,
    "c": 0.20895,
    "h": 341.4
  },
  "luminance": 0.13997
}

Semantic roles & 50–950 ramp

primary
#BA2793
secondary
#72CB8A
accent
#E86C40
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2793

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

Preview Lab → · Contrast checker → · Palette generator →

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