#BA2C94#BA2C94

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

Color values

HEX#BA2C94
RGBrgb(186, 44, 148)
HSLhsl(316, 62%, 45%)
HSVhsv(316, 76%, 73%)
CMYKcmyk(0%, 76.3%, 20.4%, 27.1%)
CIE-LABlab(44.77, 64.67, -24.47)
CIE-LCHlch(44.77, 69.14, 339.27°)
OKLaboklab(55.11% 0.1939 -0.0659)
OKLCHoklch(55.11% 0.205 341.2)
XYZxyz(26.4965, 14.3813, 29.3917)
Luminance0.1438 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2C94 #2CBA52
analogous
#992CBA #BA2C94 #BA2C4D
triadic
#BA2C94 #94BA2C #2C94BA
tetradic
#BA2C94 #BA992C #2CBA52 #2C4DBA
square
#BA2C94 #BA992C #2CBA52 #2C4DBA
split-complementary
#BA2C94 #4DBA2C #2CBA99
monochromatic
#571545 #89206D #BA2C94 #D54EB1 #E180C7

Accessibility & contrast

On white

5.42
#BA2C94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2C94
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2C94#FFFFFF#000000##FFFFFF
##BA2C941.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395B97
Deuteranopia (green-blind)
#677291
Tritanopia (blue-blind)
#C62F5D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba2c94;
/* rgb */ color: rgb(186, 44, 148);
/* oklch */ color: oklch(55.1% 0.205 341.2);
Tailwind
colors: {
  custom: {
    50: '#d374b3',
    500: '#ba2c94',
    950: '#000000',
  },
}
SCSS
$custom: #ba2c94;
$custom-light: #d374b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2c94",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 148
  },
  "hsl": {
    "h": 316.056,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5511,
    "c": 0.20475,
    "h": 341.2
  },
  "luminance": 0.14379
}

Semantic roles & 50–950 ramp

primary
#BA2C94
secondary
#78CA8E
accent
#E56E43
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2C94

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

Preview Lab → · Contrast checker → · Palette generator →

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