#BA2B95#BA2B95

#BA2B95 is a mid, highly saturated pink. Relative luminance 0.143; OKLCH L 55.1% C 0.206 H 340.8°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#BA2B95
RGBrgb(186, 43, 149)
HSLhsl(316, 62%, 45%)
HSVhsv(316, 77%, 73%)
CMYKcmyk(0%, 76.9%, 19.9%, 27.1%)
CIE-LABlab(44.72, 65.10, -25.17)
CIE-LCHlch(44.72, 69.79, 338.86°)
OKLaboklab(55.08% 0.1949 -0.0678)
OKLCHoklch(55.08% 0.206 340.8)
XYZxyz(26.5392, 14.3395, 29.7981)
Luminance0.1434 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2B95 #2BBA50
analogous
#972BBA #BA2B95 #BA2B4E
triadic
#BA2B95 #95BA2B #2B95BA
tetradic
#BA2B95 #BA972B #2BBA50 #2B4EBA
square
#BA2B95 #BA972B #2BBA50 #2B4EBA
split-complementary
#BA2B95 #4EBA2B #2BBA97
monochromatic
#571445 #88206D #BA2B95 #D64CB2 #E17EC8

Accessibility & contrast

On white

5.43
#BA2B95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#BA2B95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2B95
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2B95#FFFFFF#000000##FFFFFF
##BA2B951.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375B98
Deuteranopia (green-blind)
#667292
Tritanopia (blue-blind)
#C52F5D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba2b95;
/* rgb */ color: rgb(186, 43, 149);
/* oklch */ color: oklch(55.1% 0.206 340.8);
Tailwind
colors: {
  custom: {
    50: '#d374b4',
    500: '#ba2b95',
    950: '#000000',
  },
}
SCSS
$custom: #ba2b95;
$custom-light: #d374b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2b95",
  "rgb": {
    "r": 186,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 315.524,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55082,
    "c": 0.20637,
    "h": 340.8
  },
  "luminance": 0.14337
}

Semantic roles & 50–950 ramp

primary
#BA2B95
secondary
#77CA8C
accent
#E66D42
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2B95

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

Preview Lab → · Contrast checker → · Palette generator →

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