#BA2E96#BA2E96

#BA2E96 is a mid, highly saturated pink. Relative luminance 0.146; OKLCH L 55.4% C 0.204 H 340.5°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#BA2E96
RGBrgb(186, 46, 150)
HSLhsl(315, 60%, 45%)
HSVhsv(315, 75%, 73%)
CMYKcmyk(0%, 75.3%, 19.4%, 27.1%)
CIE-LABlab(45.08, 64.33, -25.21)
CIE-LCHlch(45.08, 69.09, 338.60°)
OKLaboklab(55.36% 0.1923 -0.068)
OKLCHoklch(55.36% 0.204 340.5)
XYZxyz(26.7325, 14.5978, 30.2580)
Luminance0.1459 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2E96 #2EBA52
analogous
#982EBA #BA2E96 #BA2E50
triadic
#BA2E96 #96BA2E #2E96BA
tetradic
#BA2E96 #BA982E #2EBA52 #2E50BA
square
#BA2E96 #BA982E #2EBA52 #2E50BA
split-complementary
#BA2E96 #50BA2E #2EBA98
monochromatic
#581647 #89226E #BA2E96 #D451B2 #E082C8

Accessibility & contrast

On white

5.36
#BA2E96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#BA2E96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2E96
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2E96#FFFFFF#000000##FFFFFF
##BA2E961.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395C99
Deuteranopia (green-blind)
#677393
Tritanopia (blue-blind)
#C5325F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba2e96;
/* rgb */ color: rgb(186, 46, 150);
/* oklch */ color: oklch(55.4% 0.204 340.5);
Tailwind
colors: {
  custom: {
    50: '#d375b5',
    500: '#ba2e96',
    950: '#000000',
  },
}
SCSS
$custom: #ba2e96;
$custom-light: #d375b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2e96",
  "rgb": {
    "r": 186,
    "g": 46,
    "b": 150
  },
  "hsl": {
    "h": 315.429,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55359,
    "c": 0.20396,
    "h": 340.5
  },
  "luminance": 0.14595
}

Semantic roles & 50–950 ramp

primary
#BA2E96
secondary
#7BC98F
accent
#E36D44
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2E96

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

Preview Lab → · Contrast checker → · Palette generator →

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