#BA259A#BA259A

#BA259A is a mid, highly saturated pink. Relative luminance 0.141; OKLCH L 54.9% C 0.215 H 338.8°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#BA259A
RGBrgb(186, 37, 154)
HSLhsl(313, 67%, 44%)
HSVhsv(313, 80%, 73%)
CMYKcmyk(0%, 80.1%, 17.2%, 27.1%)
CIE-LABlab(44.37, 67.42, -28.71)
CIE-LCHlch(44.37, 73.27, 336.93°)
OKLaboklab(54.91% 0.2005 -0.0779)
OKLCHoklch(54.91% 0.215 338.8)
XYZxyz(26.7447, 14.0980, 31.8783)
Luminance0.1409 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA259A #25BA45
analogous
#8F25BA #BA259A #BA254F
triadic
#BA259A #9ABA25 #259ABA
tetradic
#BA259A #BA8F25 #25BA45 #254FBA
square
#BA259A #BA8F25 #25BA45 #254FBA
split-complementary
#BA259A #4FBA25 #25BA8F
monochromatic
#541145 #871B70 #BA259A #DA43B9 #E476CC

Accessibility & contrast

On white

5.50
#BA259A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#BA259A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA259A
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA259A#FFFFFF#000000##FFFFFF
##BA259A1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5A9D
Deuteranopia (green-blind)
#627197
Tritanopia (blue-blind)
#C52D5F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba259a;
/* rgb */ color: rgb(186, 37, 154);
/* oklch */ color: oklch(54.9% 0.215 338.8);
Tailwind
colors: {
  custom: {
    50: '#d372b8',
    500: '#ba259a',
    950: '#000000',
  },
}
SCSS
$custom: #ba259a;
$custom-light: #d372b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba259a",
  "rgb": {
    "r": 186,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 312.886,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54911,
    "c": 0.2151,
    "h": 338.8
  },
  "luminance": 0.14095
}

Semantic roles & 50–950 ramp

primary
#BA259A
secondary
#70CB83
accent
#EA633E
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA259A

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

Preview Lab → · Contrast checker → · Palette generator →

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