#BA2757#BA2757

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

Color values

HEX#BA2757
RGBrgb(186, 39, 87)
HSLhsl(340, 65%, 44%)
HSVhsv(340, 79%, 73%)
CMYKcmyk(0%, 79%, 53.2%, 27.1%)
CIE-LABlab(42.13, 59.66, 9.24)
CIE-LCHlch(42.13, 60.38, 8.80°)
OKLaboklab(52.48% 0.1819 0.0238)
OKLCHoklch(52.48% 0.183 7.4)
XYZxyz(22.6976, 12.5815, 10.2483)
Luminance0.1258 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2757 #27BA8A
analogous
#BA27A1 #BA2757 #BA4127
triadic
#BA2757 #57BA27 #2757BA
tetradic
#BA2757 #A1BA27 #27BA8A #4127BA
square
#BA2757 #A1BA27 #27BA8A #4127BA
split-complementary
#BA2757 #27BA41 #27A1BA
monochromatic
#551228 #871C3F #BA2757 #D84676 #E3799B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA2757#FFFFFF#000000##FFFFFF
##BA27571.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)
#4E5158
Deuteranopia (green-blind)
#746E53
Tritanopia (blue-blind)
#CB003C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba2757;
/* rgb */ color: rgb(186, 39, 87);
/* oklch */ color: oklch(52.5% 0.183 7.4);
Tailwind
colors: {
  custom: {
    50: '#d57086',
    500: '#ba2757',
    950: '#000000',
  },
}
SCSS
$custom: #ba2757;
$custom-light: #d57086;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2757",
  "rgb": {
    "r": 186,
    "g": 39,
    "b": 87
  },
  "hsl": {
    "h": 340.408,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52481,
    "c": 0.18343,
    "h": 7.4
  },
  "luminance": 0.12578
}

Semantic roles & 50–950 ramp

primary
#BA2757
secondary
#72CBAE
accent
#E8B140
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16090B
muted
#847B7C

Preview Lab

Preview with #BA2757

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

Preview Lab → · Contrast checker → · Palette generator →

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