#BA259B#BA259B

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

Color values

HEX#BA259B
RGBrgb(186, 37, 155)
HSLhsl(312, 67%, 44%)
HSVhsv(312, 80%, 73%)
CMYKcmyk(0%, 80.1%, 16.7%, 27.1%)
CIE-LABlab(44.42, 67.55, -29.24)
CIE-LCHlch(44.42, 73.61, 336.60°)
OKLaboklab(54.96% 0.2006 -0.0794)
OKLCHoklch(54.96% 0.216 338.4)
XYZxyz(26.8283, 14.1315, 32.3187)
Luminance0.1413 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA259B #25BA44
analogous
#8E25BA #BA259B #BA2550
triadic
#BA259B #9BBA25 #259BBA
tetradic
#BA259B #BA8E25 #25BA44 #2550BA
square
#BA259B #BA8E25 #25BA44 #2550BA
split-complementary
#BA259B #50BA25 #25BA8E
monochromatic
#541146 #871B70 #BA259B #DA43BA #E476CD

Accessibility & contrast

On white

5.49
#BA259B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA259B
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA259B#FFFFFF#000000##FFFFFF
##BA259B1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5A9E
Deuteranopia (green-blind)
#627198
Tritanopia (blue-blind)
#C52E5F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba259b;
/* rgb */ color: rgb(186, 37, 155);
/* oklch */ color: oklch(55.0% 0.216 338.4);
Tailwind
colors: {
  custom: {
    50: '#d372b9',
    500: '#ba259b',
    950: '#000000',
  },
}
SCSS
$custom: #ba259b;
$custom-light: #d372b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba259b",
  "rgb": {
    "r": 186,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 312.483,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5496,
    "c": 0.21574,
    "h": 338.4
  },
  "luminance": 0.14129
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA259B

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

Preview Lab → · Contrast checker → · Palette generator →

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