#BA2792#BA2792

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

Color values

HEX#BA2792
RGBrgb(186, 39, 146)
HSLhsl(316, 65%, 44%)
HSVhsv(316, 79%, 73%)
CMYKcmyk(0%, 79%, 21.5%, 27.1%)
CIE-LABlab(44.19, 65.83, -24.17)
CIE-LCHlch(44.19, 70.13, 339.84°)
OKLaboklab(54.66% 0.1979 -0.065)
OKLCHoklch(54.66% 0.208 341.8)
XYZxyz(26.1645, 13.9682, 28.5068)
Luminance0.1396 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2792 #27BA4F
analogous
#9927BA #BA2792 #BA2748
triadic
#BA2792 #92BA27 #2792BA
tetradic
#BA2792 #BA9927 #27BA4F #2748BA
square
#BA2792 #BA9927 #27BA4F #2748BA
split-complementary
#BA2792 #48BA27 #27BA99
monochromatic
#551243 #871C6A #BA2792 #D846B0 #E379C6

Accessibility & contrast

On white

5.54
#BA2792 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#BA2792 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2792
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2792#FFFFFF#000000##FFFFFF
##BA27921.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365995
Deuteranopia (green-blind)
#66718F
Tritanopia (blue-blind)
#C62A5B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba2792;
/* rgb */ color: rgb(186, 39, 146);
/* oklch */ color: oklch(54.7% 0.208 341.8);
Tailwind
colors: {
  custom: {
    50: '#d372b2',
    500: '#ba2792',
    950: '#000000',
  },
}
SCSS
$custom: #ba2792;
$custom-light: #d372b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2792",
  "rgb": {
    "r": 186,
    "g": 39,
    "b": 146
  },
  "hsl": {
    "h": 316.327,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54657,
    "c": 0.20834,
    "h": 341.8
  },
  "luminance": 0.13965
}

Semantic roles & 50–950 ramp

primary
#BA2792
secondary
#72CB8A
accent
#E86D40
background
#FDF7FA
surface
#FBEDF5
border
#D4C8CF
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2792

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

Preview Lab → · Contrast checker → · Palette generator →

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