#BA2497#BA2497

#BA2497 is a mid, highly saturated pink. Relative luminance 0.139; OKLCH L 54.7% C 0.214 H 339.8°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#BA2497
RGBrgb(186, 36, 151)
HSLhsl(314, 68%, 44%)
HSVhsv(314, 81%, 73%)
CMYKcmyk(0%, 80.6%, 18.8%, 27.1%)
CIE-LABlab(44.14, 67.27, -27.26)
CIE-LCHlch(44.14, 72.58, 337.94°)
OKLaboklab(54.7% 0.201 -0.0738)
OKLCHoklch(54.7% 0.214 339.8)
XYZxyz(26.4673, 13.9379, 30.5686)
Luminance0.1394 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2497 #24BA47
analogous
#9224BA #BA2497 #BA244C
triadic
#BA2497 #97BA24 #2497BA
tetradic
#BA2497 #BA9224 #24BA47 #244CBA
square
#BA2497 #BA9224 #24BA47 #244CBA
split-complementary
#BA2497 #4CBA24 #24BA92
monochromatic
#531044 #871A6D #BA2497 #DA41B6 #E474CA

Accessibility & contrast

On white

5.55
#BA2497 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#BA2497 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2497
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2497#FFFFFF#000000##FFFFFF
##BA24971.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30599A
Deuteranopia (green-blind)
#637194
Tritanopia (blue-blind)
#C52A5D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba2497;
/* rgb */ color: rgb(186, 36, 151);
/* oklch */ color: oklch(54.7% 0.214 339.8);
Tailwind
colors: {
  custom: {
    50: '#d371b6',
    500: '#ba2497',
    950: '#000000',
  },
}
SCSS
$custom: #ba2497;
$custom-light: #d371b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2497",
  "rgb": {
    "r": 186,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 314,
    "s": 67.568,
    "l": 43.529
  },
  "oklch": {
    "l": 0.547,
    "c": 0.21406,
    "h": 339.8
  },
  "luminance": 0.13935
}

Semantic roles & 50–950 ramp

primary
#BA2497
secondary
#6ECB84
accent
#EA663D
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2497

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

Preview Lab → · Contrast checker → · Palette generator →

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