#BA2E56#BA2E56

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

Color values

HEX#BA2E56
RGBrgb(186, 46, 86)
HSLhsl(343, 60%, 45%)
HSVhsv(343, 75%, 73%)
CMYKcmyk(0%, 75.3%, 53.8%, 27.1%)
CIE-LABlab(42.87, 57.43, 10.90)
CIE-LCHlch(42.87, 58.46, 10.75°)
OKLaboklab(53.02% 0.1746 0.0278)
OKLCHoklch(53.02% 0.177 9)
XYZxyz(22.9085, 13.0682, 10.1184)
Luminance0.1306 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2E56 #2EBA92
analogous
#BA2E9C #BA2E56 #BA4C2E
triadic
#BA2E56 #56BA2E #2E56BA
tetradic
#BA2E56 #9CBA2E #2EBA92 #4C2EBA
square
#BA2E56 #9CBA2E #2EBA92 #4C2EBA
split-complementary
#BA2E56 #2EBA4C #2E9CBA
monochromatic
#581629 #89223F #BA2E56 #D45177 #E0829D

Accessibility & contrast

On white

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

On black

3.61
#BA2E56 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA2E56#FFFFFF#000000##FFFFFF
##BA2E561.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525357
Deuteranopia (green-blind)
#766F53
Tritanopia (blue-blind)
#CB023F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2e56;
/* rgb */ color: rgb(186, 46, 86);
/* oklch */ color: oklch(53.0% 0.177 9.0);
Tailwind
colors: {
  custom: {
    50: '#d57385',
    500: '#ba2e56',
    950: '#000000',
  },
}
SCSS
$custom: #ba2e56;
$custom-light: #d57385;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2e56",
  "rgb": {
    "r": 186,
    "g": 46,
    "b": 86
  },
  "hsl": {
    "h": 342.857,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53019,
    "c": 0.17676,
    "h": 9
  },
  "luminance": 0.13065
}

Semantic roles & 50–950 ramp

primary
#BA2E56
secondary
#7BC9B3
accent
#E3B644
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA2E56

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

Preview Lab → · Contrast checker → · Palette generator →

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