#BA2B94#BA2B94

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

Color values

HEX#BA2B94
RGBrgb(186, 43, 148)
HSLhsl(316, 62%, 45%)
HSVhsv(316, 77%, 73%)
CMYKcmyk(0%, 76.9%, 20.4%, 27.1%)
CIE-LABlab(44.67, 64.96, -24.63)
CIE-LCHlch(44.67, 69.48, 339.23°)
OKLaboklab(55.04% 0.1948 -0.0663)
OKLCHoklch(55.04% 0.206 341.2)
XYZxyz(26.4597, 14.3077, 29.3794)
Luminance0.1431 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2B94 #2BBA51
analogous
#982BBA #BA2B94 #BA2B4D
triadic
#BA2B94 #94BA2B #2B94BA
tetradic
#BA2B94 #BA982B #2BBA51 #2B4DBA
square
#BA2B94 #BA982B #2BBA51 #2B4DBA
split-complementary
#BA2B94 #4DBA2B #2BBA98
monochromatic
#571445 #88206C #BA2B94 #D64CB1 #E17EC7

Accessibility & contrast

On white

5.44
#BA2B94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#BA2B94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2B94
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2B94#FFFFFF#000000##FFFFFF
##BA2B941.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385B97
Deuteranopia (green-blind)
#667291
Tritanopia (blue-blind)
#C62E5D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba2b94;
/* rgb */ color: rgb(186, 43, 148);
/* oklch */ color: oklch(55.0% 0.206 341.2);
Tailwind
colors: {
  custom: {
    50: '#d374b3',
    500: '#ba2b94',
    950: '#000000',
  },
}
SCSS
$custom: #ba2b94;
$custom-light: #d374b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2b94",
  "rgb": {
    "r": 186,
    "g": 43,
    "b": 148
  },
  "hsl": {
    "h": 315.944,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55035,
    "c": 0.20575,
    "h": 341.2
  },
  "luminance": 0.14305
}

Semantic roles & 50–950 ramp

primary
#BA2B94
secondary
#77CA8D
accent
#E66E42
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2B94

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

Preview Lab → · Contrast checker → · Palette generator →

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