#BA259C#BA259C

#BA259C is a mid, highly saturated pink. Relative luminance 0.142; OKLCH L 55.0% C 0.216 H 338.0°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#BA259C
RGBrgb(186, 37, 156)
HSLhsl(312, 67%, 44%)
HSVhsv(312, 80%, 73%)
CMYKcmyk(0%, 80.1%, 16.1%, 27.1%)
CIE-LABlab(44.47, 67.69, -29.76)
CIE-LCHlch(44.47, 73.94, 336.26°)
OKLaboklab(55.01% 0.2007 -0.0809)
OKLCHoklch(55.01% 0.216 338)
XYZxyz(26.9127, 14.1652, 32.7628)
Luminance0.1416 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA259C #25BA43
analogous
#8D25BA #BA259C #BA2551
triadic
#BA259C #9CBA25 #259CBA
tetradic
#BA259C #BA8D25 #25BA43 #2551BA
square
#BA259C #BA8D25 #25BA43 #2551BA
split-complementary
#BA259C #51BA25 #25BA8D
monochromatic
#541146 #871B71 #BA259C #DA43BB #E476CE

Accessibility & contrast

On white

5.48
#BA259C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#BA259C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA259C
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA259C#FFFFFF#000000##FFFFFF
##BA259C1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5B9F
Deuteranopia (green-blind)
#617199
Tritanopia (blue-blind)
#C52E60
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba259c;
/* rgb */ color: rgb(186, 37, 156);
/* oklch */ color: oklch(55.0% 0.216 338.0);
Tailwind
colors: {
  custom: {
    50: '#d372b9',
    500: '#ba259c',
    950: '#000000',
  },
}
SCSS
$custom: #ba259c;
$custom-light: #d372b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba259c",
  "rgb": {
    "r": 186,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 312.081,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55011,
    "c": 0.21638,
    "h": 338
  },
  "luminance": 0.14163
}

Semantic roles & 50–950 ramp

primary
#BA259C
secondary
#70CB82
accent
#EA613E
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA259C

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

Preview Lab → · Contrast checker → · Palette generator →

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