#BA2E90#BA2E90

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

Color values

HEX#BA2E90
RGBrgb(186, 46, 144)
HSLhsl(318, 60%, 45%)
HSVhsv(318, 75%, 73%)
CMYKcmyk(0%, 75.3%, 22.6%, 27.1%)
CIE-LABlab(44.81, 63.53, -21.99)
CIE-LCHlch(44.81, 67.23, 340.90°)
OKLaboklab(55.08% 0.1914 -0.0589)
OKLCHoklch(55.08% 0.2 342.9)
XYZxyz(26.2617, 14.4095, 27.7784)
Luminance0.1441 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2E90 #2EBA58
analogous
#9E2EBA #BA2E90 #BA2E4A
triadic
#BA2E90 #90BA2E #2E90BA
tetradic
#BA2E90 #BA9E2E #2EBA58 #2E4ABA
square
#BA2E90 #BA9E2E #2EBA58 #2E4ABA
split-complementary
#BA2E90 #4ABA2E #2EBA9E
monochromatic
#581644 #89226A #BA2E90 #D451AD #E082C4

Accessibility & contrast

On white

5.41
#BA2E90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#BA2E90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2E90
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2E90#FFFFFF#000000##FFFFFF
##BA2E901.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5B93
Deuteranopia (green-blind)
#69728D
Tritanopia (blue-blind)
#C62F5C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba2e90;
/* rgb */ color: rgb(186, 46, 144);
/* oklch */ color: oklch(55.1% 0.200 342.9);
Tailwind
colors: {
  custom: {
    50: '#d375b0',
    500: '#ba2e90',
    950: '#000000',
  },
}
SCSS
$custom: #ba2e90;
$custom-light: #d375b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2e90",
  "rgb": {
    "r": 186,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 318,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55082,
    "c": 0.20023,
    "h": 342.9
  },
  "luminance": 0.14407
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA2E90

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

Preview Lab → · Contrast checker → · Palette generator →

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