#BA2758#BA2758

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

Color values

HEX#BA2758
RGBrgb(186, 39, 88)
HSLhsl(340, 65%, 44%)
HSVhsv(340, 79%, 73%)
CMYKcmyk(0%, 79%, 52.7%, 27.1%)
CIE-LABlab(42.15, 59.74, 8.65)
CIE-LCHlch(42.15, 60.36, 8.24°)
OKLaboklab(52.51% 0.1823 0.0223)
OKLCHoklch(52.51% 0.184 7)
XYZxyz(22.7388, 12.5980, 10.4649)
Luminance0.1260 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2758 #27BA89
analogous
#BA27A2 #BA2758 #BA4027
triadic
#BA2758 #58BA27 #2758BA
tetradic
#BA2758 #A2BA27 #27BA89 #4027BA
square
#BA2758 #A2BA27 #27BA89 #4027BA
split-complementary
#BA2758 #27BA40 #27A2BA
monochromatic
#551228 #871C40 #BA2758 #D84677 #E3799C

Accessibility & contrast

On white

5.97
#BA2758 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2758
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2758#FFFFFF#000000##FFFFFF
##BA27581.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5159
Deuteranopia (green-blind)
#746E54
Tritanopia (blue-blind)
#CB003D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba2758;
/* rgb */ color: rgb(186, 39, 88);
/* oklch */ color: oklch(52.5% 0.184 7.0);
Tailwind
colors: {
  custom: {
    50: '#d57086',
    500: '#ba2758',
    950: '#000000',
  },
}
SCSS
$custom: #ba2758;
$custom-light: #d57086;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2758",
  "rgb": {
    "r": 186,
    "g": 39,
    "b": 88
  },
  "hsl": {
    "h": 340,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52508,
    "c": 0.18362,
    "h": 7
  },
  "luminance": 0.12595
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA2758

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

Preview Lab → · Contrast checker → · Palette generator →

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