#BA2E54#BA2E54

#BA2E54 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.0% C 0.176 H 10.0°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#BA2E54
RGBrgb(186, 46, 84)
HSLhsl(344, 60%, 45%)
HSVhsv(344, 75%, 73%)
CMYKcmyk(0%, 75.3%, 54.8%, 27.1%)
CIE-LABlab(42.82, 57.28, 12.09)
CIE-LCHlch(42.82, 58.54, 11.92°)
OKLaboklab(52.97% 0.1738 0.0306)
OKLCHoklch(52.97% 0.176 10)
XYZxyz(22.8291, 13.0364, 9.7000)
Luminance0.1303 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2E54 #2EBA94
analogous
#BA2E9A #BA2E54 #BA4E2E
triadic
#BA2E54 #54BA2E #2E54BA
tetradic
#BA2E54 #9ABA2E #2EBA94 #4E2EBA
square
#BA2E54 #9ABA2E #2EBA94 #4E2EBA
split-complementary
#BA2E54 #2EBA4E #2E9ABA
monochromatic
#581628 #89223E #BA2E54 #D45175 #E0829C

Accessibility & contrast

On white

5.82
#BA2E54 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2E54
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2E54#FFFFFF#000000##FFFFFF
##BA2E541.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525355
Deuteranopia (green-blind)
#776F51
Tritanopia (blue-blind)
#CB003E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2e54;
/* rgb */ color: rgb(186, 46, 84);
/* oklch */ color: oklch(53.0% 0.176 10.0);
Tailwind
colors: {
  custom: {
    50: '#d57383',
    500: '#ba2e54',
    950: '#000000',
  },
}
SCSS
$custom: #ba2e54;
$custom-light: #d57383;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2e54",
  "rgb": {
    "r": 186,
    "g": 46,
    "b": 84
  },
  "hsl": {
    "h": 343.714,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52968,
    "c": 0.17646,
    "h": 10
  },
  "luminance": 0.13033
}

Semantic roles & 50–950 ramp

primary
#BA2E54
secondary
#7BC9B4
accent
#E3B844
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090A
muted
#837B7C

Preview Lab

Preview with #BA2E54

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

Preview Lab → · Contrast checker → · Palette generator →

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