#BA2B91#BA2B91

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

Color values

HEX#BA2B91
RGBrgb(186, 43, 145)
HSLhsl(317, 62%, 45%)
HSVhsv(317, 77%, 73%)
CMYKcmyk(0%, 76.9%, 22%, 27.1%)
CIE-LABlab(44.54, 64.57, -23.03)
CIE-LCHlch(44.54, 68.55, 340.37°)
OKLaboklab(54.9% 0.1943 -0.0618)
OKLCHoklch(54.9% 0.204 342.4)
XYZxyz(26.2254, 14.2139, 28.1450)
Luminance0.1421 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2B91 #2BBA54
analogous
#9C2BBA #BA2B91 #BA2B49
triadic
#BA2B91 #91BA2B #2B91BA
tetradic
#BA2B91 #BA9C2B #2BBA54 #2B49BA
square
#BA2B91 #BA9C2B #2BBA54 #2B49BA
split-complementary
#BA2B91 #49BA2B #2BBA9C
monochromatic
#571443 #88206A #BA2B91 #D64CAE #E17EC5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA2B91#FFFFFF#000000##FFFFFF
##BA2B911.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)
#3A5A94
Deuteranopia (green-blind)
#67728E
Tritanopia (blue-blind)
#C62D5B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba2b91;
/* rgb */ color: rgb(186, 43, 145);
/* oklch */ color: oklch(54.9% 0.204 342.4);
Tailwind
colors: {
  custom: {
    50: '#d374b1',
    500: '#ba2b91',
    950: '#000000',
  },
}
SCSS
$custom: #ba2b91;
$custom-light: #d374b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2b91",
  "rgb": {
    "r": 186,
    "g": 43,
    "b": 145
  },
  "hsl": {
    "h": 317.203,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54896,
    "c": 0.2039,
    "h": 342.4
  },
  "luminance": 0.14211
}

Semantic roles & 50–950 ramp

primary
#BA2B91
secondary
#77CA8F
accent
#E67142
background
#FDF7FA
surface
#FBEDF5
border
#D4C8CF
text
#150910
muted
#837B7F

Preview Lab

Preview with #BA2B91

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

Preview Lab → · Contrast checker → · Palette generator →

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