#BA2591#BA2591

#BA2591 is a mid, highly saturated pink. Relative luminance 0.138; OKLCH L 54.5% C 0.210 H 342.1°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#BA2591
RGBrgb(186, 37, 145)
HSLhsl(317, 67%, 44%)
HSVhsv(317, 80%, 73%)
CMYKcmyk(0%, 80.1%, 22%, 27.1%)
CIE-LABlab(43.96, 66.23, -23.92)
CIE-LCHlch(43.96, 70.42, 340.14°)
OKLaboklab(54.48% 0.1994 -0.0643)
OKLCHoklch(54.48% 0.21 342.1)
XYZxyz(26.0231, 13.8094, 28.0776)
Luminance0.1381 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2591 #25BA4E
analogous
#9825BA #BA2591 #BA2546
triadic
#BA2591 #91BA25 #2591BA
tetradic
#BA2591 #BA9825 #25BA4E #2546BA
square
#BA2591 #BA9825 #25BA4E #2546BA
split-complementary
#BA2591 #46BA25 #25BA98
monochromatic
#541141 #871B69 #BA2591 #DA43B0 #E476C5

Accessibility & contrast

On white

5.58
#BA2591 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#BA2591 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2591
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2591#FFFFFF#000000##FFFFFF
##BA25911.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355994
Deuteranopia (green-blind)
#66708E
Tritanopia (blue-blind)
#C6275A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba2591;
/* rgb */ color: rgb(186, 37, 145);
/* oklch */ color: oklch(54.5% 0.210 342.1);
Tailwind
colors: {
  custom: {
    50: '#d372b1',
    500: '#ba2591',
    950: '#000000',
  },
}
SCSS
$custom: #ba2591;
$custom-light: #d372b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2591",
  "rgb": {
    "r": 186,
    "g": 37,
    "b": 145
  },
  "hsl": {
    "h": 316.51,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54477,
    "c": 0.20952,
    "h": 342.1
  },
  "luminance": 0.13807
}

Semantic roles & 50–950 ramp

primary
#BA2591
secondary
#70CB89
accent
#EA6D3E
background
#FDF7FA
surface
#FBEDF5
border
#D4C8CF
text
#150910
muted
#837B7F

Preview Lab

Preview with #BA2591

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

Preview Lab → · Contrast checker → · Palette generator →

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