#BA2B85#BA2B85

#BA2B85 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.4% C 0.197 H 347.2°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#BA2B85
RGBrgb(186, 43, 133)
HSLhsl(322, 62%, 45%)
HSVhsv(322, 77%, 73%)
CMYKcmyk(0%, 76.9%, 28.5%, 27.1%)
CIE-LABlab(44.04, 63.06, -16.50)
CIE-LCHlch(44.04, 65.19, 345.34°)
OKLaboklab(54.37% 0.1921 -0.0436)
OKLCHoklch(54.37% 0.197 347.2)
XYZxyz(25.3485, 13.8632, 23.5267)
Luminance0.1386 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2B85 #2BBA60
analogous
#A82BBA #BA2B85 #BA2B3D
triadic
#BA2B85 #85BA2B #2B85BA
tetradic
#BA2B85 #BAA82B #2BBA60 #2B3DBA
square
#BA2B85 #BAA82B #2BBA60 #2B3DBA
split-complementary
#BA2B85 #3DBA2B #2BBAA8
monochromatic
#57143E #882061 #BA2B85 #D64CA3 #E17EBD

Accessibility & contrast

On white

5.57
#BA2B85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#BA2B85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2B85
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2B85#FFFFFF#000000##FFFFFF
##BA2B851.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415887
Deuteranopia (green-blind)
#6B7182
Tritanopia (blue-blind)
#C72555
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba2b85;
/* rgb */ color: rgb(186, 43, 133);
/* oklch */ color: oklch(54.4% 0.197 347.2);
Tailwind
colors: {
  custom: {
    50: '#d373a8',
    500: '#ba2b85',
    950: '#000000',
  },
}
SCSS
$custom: #ba2b85;
$custom-light: #d373a8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2b85",
  "rgb": {
    "r": 186,
    "g": 43,
    "b": 133
  },
  "hsl": {
    "h": 322.238,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54368,
    "c": 0.19697,
    "h": 347.2
  },
  "luminance": 0.1386
}

Semantic roles & 50–950 ramp

primary
#BA2B85
secondary
#77CA96
accent
#E67F42
background
#FDF7FA
surface
#FBEDF4
border
#D4C8CE
text
#15090F
muted
#837B7F

Preview Lab

Preview with #BA2B85

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

Preview Lab → · Contrast checker → · Palette generator →

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