#BA2457#BA2457

#BA2457 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.3% C 0.186 H 7.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#BA2457
RGBrgb(186, 36, 87)
HSLhsl(340, 68%, 44%)
HSVhsv(340, 81%, 73%)
CMYKcmyk(0%, 80.6%, 53.2%, 27.1%)
CIE-LABlab(41.83, 60.50, 8.83)
CIE-LCHlch(41.83, 61.14, 8.30°)
OKLaboklab(52.26% 0.1846 0.0228)
OKLCHoklch(52.26% 0.186 7)
XYZxyz(22.6030, 12.3922, 10.2167)
Luminance0.1239 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2457 #24BA87
analogous
#BA24A2 #BA2457 #BA3C24
triadic
#BA2457 #57BA24 #2457BA
tetradic
#BA2457 #A2BA24 #24BA87 #3C24BA
square
#BA2457 #A2BA24 #24BA87 #3C24BA
split-complementary
#BA2457 #24BA3C #24A2BA
monochromatic
#531027 #871A3F #BA2457 #DA4175 #E4749A

Accessibility & contrast

On white

6.04
#BA2457 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#BA2457 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2457
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2457#FFFFFF#000000##FFFFFF
##BA24571.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5058
Deuteranopia (green-blind)
#746D53
Tritanopia (blue-blind)
#CB003B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba2457;
/* rgb */ color: rgb(186, 36, 87);
/* oklch */ color: oklch(52.3% 0.186 7.0);
Tailwind
colors: {
  custom: {
    50: '#d56f86',
    500: '#ba2457',
    950: '#000000',
  },
}
SCSS
$custom: #ba2457;
$custom-light: #d56f86;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2457",
  "rgb": {
    "r": 186,
    "g": 36,
    "b": 87
  },
  "hsl": {
    "h": 339.6,
    "s": 67.568,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52265,
    "c": 0.18597,
    "h": 7
  },
  "luminance": 0.12389
}

Semantic roles & 50–950 ramp

primary
#BA2457
secondary
#6ECBAC
accent
#EAB03D
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16080B
muted
#847B7C

Preview Lab

Preview with #BA2457

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

Preview Lab → · Contrast checker → · Palette generator →

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