#BA2C95#BA2C95

#BA2C95 is a mid, highly saturated pink. Relative luminance 0.144; OKLCH L 55.2% C 0.205 H 340.8°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#BA2C95
RGBrgb(186, 44, 149)
HSLhsl(316, 62%, 45%)
HSVhsv(316, 76%, 73%)
CMYKcmyk(0%, 76.3%, 19.9%, 27.1%)
CIE-LABlab(44.82, 64.80, -25.01)
CIE-LCHlch(44.82, 69.46, 338.90°)
OKLaboklab(55.16% 0.194 -0.0674)
OKLCHoklch(55.16% 0.205 340.8)
XYZxyz(26.5760, 14.4131, 29.8103)
Luminance0.1441 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2C95 #2CBA51
analogous
#982CBA #BA2C95 #BA2C4E
triadic
#BA2C95 #95BA2C #2C95BA
tetradic
#BA2C95 #BA982C #2CBA51 #2C4EBA
square
#BA2C95 #BA982C #2CBA51 #2C4EBA
split-complementary
#BA2C95 #4EBA2C #2CBA98
monochromatic
#571546 #89206D #BA2C95 #D54EB2 #E180C7

Accessibility & contrast

On white

5.41
#BA2C95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#BA2C95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2C95
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2C95#FFFFFF#000000##FFFFFF
##BA2C951.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385C98
Deuteranopia (green-blind)
#667292
Tritanopia (blue-blind)
#C5305E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba2c95;
/* rgb */ color: rgb(186, 44, 149);
/* oklch */ color: oklch(55.2% 0.205 340.8);
Tailwind
colors: {
  custom: {
    50: '#d374b4',
    500: '#ba2c95',
    950: '#000000',
  },
}
SCSS
$custom: #ba2c95;
$custom-light: #d374b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2c95",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 149
  },
  "hsl": {
    "h": 315.634,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55157,
    "c": 0.20538,
    "h": 340.8
  },
  "luminance": 0.1441
}

Semantic roles & 50–950 ramp

primary
#BA2C95
secondary
#78CA8D
accent
#E56D43
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2C95

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

Preview Lab → · Contrast checker → · Palette generator →

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