#BA259D#BA259D

#BA259D is a mid, highly saturated pink. Relative luminance 0.142; OKLCH L 55.1% C 0.217 H 337.7°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#BA259D
RGBrgb(186, 37, 157)
HSLhsl(312, 67%, 44%)
HSVhsv(312, 80%, 73%)
CMYKcmyk(0%, 80.1%, 15.6%, 27.1%)
CIE-LABlab(44.52, 67.82, -30.29)
CIE-LCHlch(44.52, 74.28, 335.94°)
OKLaboklab(55.06% 0.2008 -0.0824)
OKLCHoklch(55.06% 0.217 337.7)
XYZxyz(26.9977, 14.1992, 33.2106)
Luminance0.1420 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA259D #25BA42
analogous
#8C25BA #BA259D #BA2552
triadic
#BA259D #9DBA25 #259DBA
tetradic
#BA259D #BA8C25 #25BA42 #2552BA
square
#BA259D #BA8C25 #25BA42 #2552BA
split-complementary
#BA259D #52BA25 #25BA8C
monochromatic
#541147 #871B72 #BA259D #DA43BC #E476CE

Accessibility & contrast

On white

5.47
#BA259D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#BA259D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA259D
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA259D#FFFFFF#000000##FFFFFF
##BA259D1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5BA0
Deuteranopia (green-blind)
#61719A
Tritanopia (blue-blind)
#C42F60
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba259d;
/* rgb */ color: rgb(186, 37, 157);
/* oklch */ color: oklch(55.1% 0.217 337.7);
Tailwind
colors: {
  custom: {
    50: '#d372ba',
    500: '#ba259d',
    950: '#000000',
  },
}
SCSS
$custom: #ba259d;
$custom-light: #d372ba;
$custom-dark: #000000;
JSON
{
  "hex": "#ba259d",
  "rgb": {
    "r": 186,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 311.678,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55061,
    "c": 0.21703,
    "h": 337.7
  },
  "luminance": 0.14197
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA259D

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

Preview Lab → · Contrast checker → · Palette generator →

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