#BA2E57#BA2E57

#BA2E57 is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.0% C 0.177 H 8.6°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#BA2E57
RGBrgb(186, 46, 87)
HSLhsl(342, 60%, 45%)
HSVhsv(342, 75%, 73%)
CMYKcmyk(0%, 75.3%, 53.2%, 27.1%)
CIE-LABlab(42.89, 57.51, 10.31)
CIE-LCHlch(42.89, 58.43, 10.16°)
OKLaboklab(53.04% 0.1749 0.0264)
OKLCHoklch(53.04% 0.177 8.6)
XYZxyz(22.9491, 13.0844, 10.3321)
Luminance0.1308 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2E57 #2EBA91
analogous
#BA2E9D #BA2E57 #BA4B2E
triadic
#BA2E57 #57BA2E #2E57BA
tetradic
#BA2E57 #9DBA2E #2EBA91 #4B2EBA
square
#BA2E57 #9DBA2E #2EBA91 #4B2EBA
split-complementary
#BA2E57 #2EBA4B #2E9DBA
monochromatic
#581629 #892240 #BA2E57 #D45177 #E0829E

Accessibility & contrast

On white

5.81
#BA2E57 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#BA2E57 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2E57
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2E57#FFFFFF#000000##FFFFFF
##BA2E571.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525358
Deuteranopia (green-blind)
#766F54
Tritanopia (blue-blind)
#CB033F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2e57;
/* rgb */ color: rgb(186, 46, 87);
/* oklch */ color: oklch(53.0% 0.177 8.6);
Tailwind
colors: {
  custom: {
    50: '#d57386',
    500: '#ba2e57',
    950: '#000000',
  },
}
SCSS
$custom: #ba2e57;
$custom-light: #d57386;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2e57",
  "rgb": {
    "r": 186,
    "g": 46,
    "b": 87
  },
  "hsl": {
    "h": 342.429,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53045,
    "c": 0.17692,
    "h": 8.6
  },
  "luminance": 0.13081
}

Semantic roles & 50–950 ramp

primary
#BA2E57
secondary
#7BC9B2
accent
#E3B544
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA2E57

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

Preview Lab → · Contrast checker → · Palette generator →

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