#BA2E78#BA2E78

#BA2E78 is a mid, vivid pink. Relative luminance 0.137; OKLCH L 54.1% C 0.187 H 353.1°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#BA2E78
RGBrgb(186, 46, 120)
HSLhsl(328, 60%, 45%)
HSVhsv(328, 75%, 73%)
CMYKcmyk(0%, 75.3%, 35.5%, 27.1%)
CIE-LABlab(43.88, 60.64, -8.77)
CIE-LCHlch(43.88, 61.27, 351.77°)
OKLaboklab(54.09% 0.186 -0.0225)
OKLCHoklch(54.09% 0.187 353.1)
XYZxyz(24.6184, 13.7521, 19.1237)
Luminance0.1375 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2E78 #2EBA70
analogous
#B62EBA #BA2E78 #BA2E32
triadic
#BA2E78 #78BA2E #2E78BA
tetradic
#BA2E78 #BAB62E #2EBA70 #2E32BA
square
#BA2E78 #BAB62E #2EBA70 #2E32BA
split-complementary
#BA2E78 #32BA2E #2EBAB6
monochromatic
#581639 #892258 #BA2E78 #D45196 #E082B4

Accessibility & contrast

On white

5.60
#BA2E78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#BA2E78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2E78
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2E78#FFFFFF#000000##FFFFFF
##BA2E781.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48577A
Deuteranopia (green-blind)
#707175
Tritanopia (blue-blind)
#C8204F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba2e78;
/* rgb */ color: rgb(186, 46, 120);
/* oklch */ color: oklch(54.1% 0.187 353.1);
Tailwind
colors: {
  custom: {
    50: '#d4749f',
    500: '#ba2e78',
    950: '#000000',
  },
}
SCSS
$custom: #ba2e78;
$custom-light: #d4749f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2e78",
  "rgb": {
    "r": 186,
    "g": 46,
    "b": 120
  },
  "hsl": {
    "h": 328.286,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54091,
    "c": 0.18734,
    "h": 353.1
  },
  "luminance": 0.13749
}

Semantic roles & 50–950 ramp

primary
#BA2E78
secondary
#7BC9A0
accent
#E38F44
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA2E78

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

Preview Lab → · Contrast checker → · Palette generator →

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