#BA2498#BA2498

#BA2498 is a mid, highly saturated pink. Relative luminance 0.140; OKLCH L 54.7% C 0.215 H 339.5°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#BA2498
RGBrgb(186, 36, 152)
HSLhsl(314, 68%, 44%)
HSVhsv(314, 81%, 73%)
CMYKcmyk(0%, 80.6%, 18.3%, 27.1%)
CIE-LABlab(44.19, 67.40, -27.79)
CIE-LCHlch(44.19, 72.91, 337.59°)
OKLaboklab(54.75% 0.2011 -0.0753)
OKLCHoklch(54.75% 0.215 339.5)
XYZxyz(26.5488, 13.9706, 30.9981)
Luminance0.1397 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2498 #24BA46
analogous
#9124BA #BA2498 #BA244D
triadic
#BA2498 #98BA24 #2498BA
tetradic
#BA2498 #BA9124 #24BA46 #244DBA
square
#BA2498 #BA9124 #24BA46 #244DBA
split-complementary
#BA2498 #4DBA24 #24BA91
monochromatic
#531044 #871A6E #BA2498 #DA41B7 #E474CB

Accessibility & contrast

On white

5.54
#BA2498 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2498
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2498#FFFFFF#000000##FFFFFF
##BA24981.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305A9B
Deuteranopia (green-blind)
#637195
Tritanopia (blue-blind)
#C52B5D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba2498;
/* rgb */ color: rgb(186, 36, 152);
/* oklch */ color: oklch(54.7% 0.215 339.5);
Tailwind
colors: {
  custom: {
    50: '#d371b6',
    500: '#ba2498',
    950: '#000000',
  },
}
SCSS
$custom: #ba2498;
$custom-light: #d371b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2498",
  "rgb": {
    "r": 186,
    "g": 36,
    "b": 152
  },
  "hsl": {
    "h": 313.6,
    "s": 67.568,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54749,
    "c": 0.21468,
    "h": 339.5
  },
  "luminance": 0.13968
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA2498

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

Preview Lab → · Contrast checker → · Palette generator →

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