#BA2E9B#BA2E9B

#BA2E9B is a mid, highly saturated pink. Relative luminance 0.148; OKLCH L 55.6% C 0.207 H 338.6°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#BA2E9B
RGBrgb(186, 46, 155)
HSLhsl(313, 60%, 45%)
HSVhsv(313, 75%, 73%)
CMYKcmyk(0%, 75.3%, 16.7%, 27.1%)
CIE-LABlab(45.31, 65.01, -27.86)
CIE-LCHlch(45.31, 70.73, 336.81°)
OKLaboklab(55.6% 0.1929 -0.0755)
OKLCHoklch(55.6% 0.207 338.6)
XYZxyz(27.1437, 14.7623, 32.4239)
Luminance0.1476 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2E9B #2EBA4D
analogous
#932EBA #BA2E9B #BA2E55
triadic
#BA2E9B #9BBA2E #2E9BBA
tetradic
#BA2E9B #BA932E #2EBA4D #2E55BA
square
#BA2E9B #BA932E #2EBA4D #2E55BA
split-complementary
#BA2E9B #55BA2E #2EBA93
monochromatic
#581649 #892272 #BA2E9B #D451B7 #E082CB

Accessibility & contrast

On white

5.31
#BA2E9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#BA2E9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2E9B
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2E9B#FFFFFF#000000##FFFFFF
##BA2E9B1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365D9E
Deuteranopia (green-blind)
#657398
Tritanopia (blue-blind)
#C53561
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba2e9b;
/* rgb */ color: rgb(186, 46, 155);
/* oklch */ color: oklch(55.6% 0.207 338.6);
Tailwind
colors: {
  custom: {
    50: '#d375b9',
    500: '#ba2e9b',
    950: '#000000',
  },
}
SCSS
$custom: #ba2e9b;
$custom-light: #d375b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2e9b",
  "rgb": {
    "r": 186,
    "g": 46,
    "b": 155
  },
  "hsl": {
    "h": 313.286,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55598,
    "c": 0.20719,
    "h": 338.6
  },
  "luminance": 0.1476
}

Semantic roles & 50–950 ramp

primary
#BA2E9B
secondary
#7BC98C
accent
#E36844
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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