#BA2E9E#BA2E9E

#BA2E9E is a mid, highly saturated pink. Relative luminance 0.149; OKLCH L 55.7% C 0.209 H 337.5°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#BA2E9E
RGBrgb(186, 46, 158)
HSLhsl(312, 60%, 45%)
HSVhsv(312, 75%, 73%)
CMYKcmyk(0%, 75.3%, 15.1%, 27.1%)
CIE-LABlab(45.45, 65.43, -29.43)
CIE-LCHlch(45.45, 71.75, 335.78°)
OKLaboklab(55.75% 0.1933 -0.08)
OKLCHoklch(55.75% 0.209 337.5)
XYZxyz(27.3988, 14.8643, 33.7672)
Luminance0.1486 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2E9E #2EBA4A
analogous
#902EBA #BA2E9E #BA2E58
triadic
#BA2E9E #9EBA2E #2E9EBA
tetradic
#BA2E9E #BA902E #2EBA4A #2E58BA
square
#BA2E9E #BA902E #2EBA4A #2E58BA
split-complementary
#BA2E9E #58BA2E #2EBA90
monochromatic
#58164B #892274 #BA2E9E #D451BA #E082CD

Accessibility & contrast

On white

5.29
#BA2E9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#BA2E9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2E9E
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2E9E#FFFFFF#000000##FFFFFF
##BA2E9E1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335EA1
Deuteranopia (green-blind)
#63739B
Tritanopia (blue-blind)
#C43663
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba2e9e;
/* rgb */ color: rgb(186, 46, 158);
/* oklch */ color: oklch(55.7% 0.209 337.5);
Tailwind
colors: {
  custom: {
    50: '#d375bb',
    500: '#ba2e9e',
    950: '#000000',
  },
}
SCSS
$custom: #ba2e9e;
$custom-light: #d375bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2e9e",
  "rgb": {
    "r": 186,
    "g": 46,
    "b": 158
  },
  "hsl": {
    "h": 312,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55746,
    "c": 0.20917,
    "h": 337.5
  },
  "luminance": 0.14862
}

Semantic roles & 50–950 ramp

primary
#BA2E9E
secondary
#7BC98A
accent
#E36444
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BA2E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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