#BA2E91#BA2E91

#BA2E91 is a mid, highly saturated pink. Relative luminance 0.144; OKLCH L 55.1% C 0.201 H 342.5°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#BA2E91
RGBrgb(186, 46, 145)
HSLhsl(318, 60%, 45%)
HSVhsv(318, 75%, 73%)
CMYKcmyk(0%, 75.3%, 22%, 27.1%)
CIE-LABlab(44.86, 63.66, -22.53)
CIE-LCHlch(44.86, 67.53, 340.51°)
OKLaboklab(55.13% 0.1915 -0.0604)
OKLCHoklch(55.13% 0.201 342.5)
XYZxyz(26.3385, 14.4402, 28.1827)
Luminance0.1444 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2E91 #2EBA57
analogous
#9D2EBA #BA2E91 #BA2E4B
triadic
#BA2E91 #91BA2E #2E91BA
tetradic
#BA2E91 #BA9D2E #2EBA57 #2E4BBA
square
#BA2E91 #BA9D2E #2EBA57 #2E4BBA
split-complementary
#BA2E91 #4BBA2E #2EBA9D
monochromatic
#581644 #89226B #BA2E91 #D451AE #E082C5

Accessibility & contrast

On white

5.40
#BA2E91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#BA2E91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2E91
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2E91#FFFFFF#000000##FFFFFF
##BA2E911.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5B94
Deuteranopia (green-blind)
#68728E
Tritanopia (blue-blind)
#C62F5C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba2e91;
/* rgb */ color: rgb(186, 46, 145);
/* oklch */ color: oklch(55.1% 0.201 342.5);
Tailwind
colors: {
  custom: {
    50: '#d375b1',
    500: '#ba2e91',
    950: '#000000',
  },
}
SCSS
$custom: #ba2e91;
$custom-light: #d375b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2e91",
  "rgb": {
    "r": 186,
    "g": 46,
    "b": 145
  },
  "hsl": {
    "h": 317.571,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55127,
    "c": 0.20083,
    "h": 342.5
  },
  "luminance": 0.14437
}

Semantic roles & 50–950 ramp

primary
#BA2E91
secondary
#7BC992
accent
#E37344
background
#FDF7FA
surface
#FBEEF5
border
#D4C9CF
text
#150910
muted
#837B7F

Preview Lab

Preview with #BA2E91

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

Preview Lab → · Contrast checker → · Palette generator →

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