#BA2E99#BA2E99

#BA2E99 is a mid, highly saturated pink. Relative luminance 0.147; OKLCH L 55.5% C 0.206 H 339.4°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#BA2E99
RGBrgb(186, 46, 153)
HSLhsl(314, 60%, 45%)
HSVhsv(314, 75%, 73%)
CMYKcmyk(0%, 75.3%, 17.7%, 27.1%)
CIE-LABlab(45.21, 64.74, -26.80)
CIE-LCHlch(45.21, 70.06, 337.51°)
OKLaboklab(55.5% 0.1927 -0.0725)
OKLCHoklch(55.5% 0.206 339.4)
XYZxyz(26.9772, 14.6957, 31.5466)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2E99 #2EBA4F
analogous
#952EBA #BA2E99 #BA2E53
triadic
#BA2E99 #99BA2E #2E99BA
tetradic
#BA2E99 #BA952E #2EBA4F #2E53BA
square
#BA2E99 #BA952E #2EBA4F #2E53BA
split-complementary
#BA2E99 #53BA2E #2EBA95
monochromatic
#581648 #892271 #BA2E99 #D451B5 #E082CA

Accessibility & contrast

On white

5.33
#BA2E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#BA2E99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2E99
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2E99#FFFFFF#000000##FFFFFF
##BA2E991.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375D9C
Deuteranopia (green-blind)
#657396
Tritanopia (blue-blind)
#C53460
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba2e99;
/* rgb */ color: rgb(186, 46, 153);
/* oklch */ color: oklch(55.5% 0.206 339.4);
Tailwind
colors: {
  custom: {
    50: '#d375b7',
    500: '#ba2e99',
    950: '#000000',
  },
}
SCSS
$custom: #ba2e99;
$custom-light: #d375b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2e99",
  "rgb": {
    "r": 186,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 314.143,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55502,
    "c": 0.20588,
    "h": 339.4
  },
  "luminance": 0.14693
}

Semantic roles & 50–950 ramp

primary
#BA2E99
secondary
#7BC98D
accent
#E36A44
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2E99

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

Preview Lab → · Contrast checker → · Palette generator →

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