#BA2598#BA2598

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

Color values

HEX#BA2598
RGBrgb(186, 37, 152)
HSLhsl(314, 67%, 44%)
HSVhsv(314, 80%, 73%)
CMYKcmyk(0%, 80.1%, 18.3%, 27.1%)
CIE-LABlab(44.28, 67.15, -27.66)
CIE-LCHlch(44.28, 72.62, 337.62°)
OKLaboklab(54.81% 0.2003 -0.0749)
OKLCHoklch(54.81% 0.214 339.5)
XYZxyz(26.5795, 14.0319, 31.0083)
Luminance0.1403 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2598 #25BA47
analogous
#9125BA #BA2598 #BA254D
triadic
#BA2598 #98BA25 #2598BA
tetradic
#BA2598 #BA9125 #25BA47 #254DBA
square
#BA2598 #BA9125 #25BA47 #254DBA
split-complementary
#BA2598 #4DBA25 #25BA91
monochromatic
#541145 #871B6E #BA2598 #DA43B7 #E476CB

Accessibility & contrast

On white

5.52
#BA2598 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#BA2598 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2598
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2598#FFFFFF#000000##FFFFFF
##BA25981.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba2598;
/* rgb */ color: rgb(186, 37, 152);
/* oklch */ color: oklch(54.8% 0.214 339.5);
Tailwind
colors: {
  custom: {
    50: '#d372b6',
    500: '#ba2598',
    950: '#000000',
  },
}
SCSS
$custom: #ba2598;
$custom-light: #d372b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2598",
  "rgb": {
    "r": 186,
    "g": 37,
    "b": 152
  },
  "hsl": {
    "h": 313.691,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54812,
    "c": 0.21383,
    "h": 339.5
  },
  "luminance": 0.14029
}

Semantic roles & 50–950 ramp

primary
#BA2598
secondary
#70CB85
accent
#EA653E
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2598

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

Preview Lab → · Contrast checker → · Palette generator →

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