#BA2597#BA2597

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

Color values

HEX#BA2597
RGBrgb(186, 37, 151)
HSLhsl(314, 67%, 44%)
HSVhsv(314, 80%, 73%)
CMYKcmyk(0%, 80.1%, 18.8%, 27.1%)
CIE-LABlab(44.23, 67.01, -27.13)
CIE-LCHlch(44.23, 72.30, 337.96°)
OKLaboklab(54.76% 0.2002 -0.0734)
OKLCHoklch(54.76% 0.213 339.9)
XYZxyz(26.4980, 13.9993, 30.5788)
Luminance0.1400 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2597 #25BA48
analogous
#9225BA #BA2597 #BA254C
triadic
#BA2597 #97BA25 #2597BA
tetradic
#BA2597 #BA9225 #25BA48 #254CBA
square
#BA2597 #BA9225 #25BA48 #254CBA
split-complementary
#BA2597 #4CBA25 #25BA92
monochromatic
#541144 #871B6E #BA2597 #DA43B6 #E476CA

Accessibility & contrast

On white

5.53
#BA2597 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#BA2597 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2597
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2597#FFFFFF#000000##FFFFFF
##BA25971.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315A9A
Deuteranopia (green-blind)
#637194
Tritanopia (blue-blind)
#C52B5D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba2597;
/* rgb */ color: rgb(186, 37, 151);
/* oklch */ color: oklch(54.8% 0.213 339.9);
Tailwind
colors: {
  custom: {
    50: '#d372b6',
    500: '#ba2597',
    950: '#000000',
  },
}
SCSS
$custom: #ba2597;
$custom-light: #d372b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2597",
  "rgb": {
    "r": 186,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 314.094,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54763,
    "c": 0.2132,
    "h": 339.9
  },
  "luminance": 0.13997
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA2597

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

Preview Lab → · Contrast checker → · Palette generator →

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