#BA2759#BA2759

#BA2759 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.5% C 0.184 H 6.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#BA2759
RGBrgb(186, 39, 89)
HSLhsl(340, 65%, 44%)
HSVhsv(340, 79%, 73%)
CMYKcmyk(0%, 79%, 52.2%, 27.1%)
CIE-LABlab(42.18, 59.82, 8.06)
CIE-LCHlch(42.18, 60.36, 7.67°)
OKLaboklab(52.54% 0.1826 0.0209)
OKLCHoklch(52.54% 0.184 6.5)
XYZxyz(22.7805, 12.6146, 10.6846)
Luminance0.1261 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2759 #27BA88
analogous
#BA27A3 #BA2759 #BA3F27
triadic
#BA2759 #59BA27 #2759BA
tetradic
#BA2759 #A3BA27 #27BA88 #3F27BA
square
#BA2759 #A3BA27 #27BA88 #3F27BA
split-complementary
#BA2759 #27BA3F #27A3BA
monochromatic
#551229 #871C41 #BA2759 #D84678 #E3799D

Accessibility & contrast

On white

5.96
#BA2759 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#BA2759 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2759
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2759#FFFFFF#000000##FFFFFF
##BA27591.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E515A
Deuteranopia (green-blind)
#746E55
Tritanopia (blue-blind)
#CB003D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2759;
/* rgb */ color: rgb(186, 39, 89);
/* oklch */ color: oklch(52.5% 0.184 6.5);
Tailwind
colors: {
  custom: {
    50: '#d57087',
    500: '#ba2759',
    950: '#000000',
  },
}
SCSS
$custom: #ba2759;
$custom-light: #d57087;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2759",
  "rgb": {
    "r": 186,
    "g": 39,
    "b": 89
  },
  "hsl": {
    "h": 339.592,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52535,
    "c": 0.18382,
    "h": 6.5
  },
  "luminance": 0.12611
}

Semantic roles & 50–950 ramp

primary
#BA2759
secondary
#72CBAD
accent
#E8AF40
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA2759

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

Preview Lab → · Contrast checker → · Palette generator →

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