#BA2894#BA2894

#BA2894 is a mid, highly saturated pink. Relative luminance 0.141; OKLCH L 54.8% C 0.209 H 341.1°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#BA2894
RGBrgb(186, 40, 148)
HSLhsl(316, 65%, 44%)
HSVhsv(316, 78%, 73%)
CMYKcmyk(0%, 78.5%, 20.4%, 27.1%)
CIE-LABlab(44.37, 65.82, -25.10)
CIE-LCHlch(44.37, 70.44, 339.13°)
OKLaboklab(54.82% 0.1974 -0.0676)
OKLCHoklch(54.82% 0.209 341.1)
XYZxyz(26.3547, 14.0975, 29.3444)
Luminance0.1409 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2894 #28BA4E
analogous
#9728BA #BA2894 #BA284B
triadic
#BA2894 #94BA28 #2894BA
tetradic
#BA2894 #BA9728 #28BA4E #284BBA
square
#BA2894 #BA9728 #28BA4E #284BBA
split-complementary
#BA2894 #4BBA28 #28BA97
monochromatic
#551244 #881D6C #BA2894 #D848B2 #E27AC7

Accessibility & contrast

On white

5.50
#BA2894 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#BA2894 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2894
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2894#FFFFFF#000000##FFFFFF
##BA28941.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365A97
Deuteranopia (green-blind)
#657191
Tritanopia (blue-blind)
#C62C5C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba2894;
/* rgb */ color: rgb(186, 40, 148);
/* oklch */ color: oklch(54.8% 0.209 341.1);
Tailwind
colors: {
  custom: {
    50: '#d373b3',
    500: '#ba2894',
    950: '#000000',
  },
}
SCSS
$custom: #ba2894;
$custom-light: #d373b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2894",
  "rgb": {
    "r": 186,
    "g": 40,
    "b": 148
  },
  "hsl": {
    "h": 315.616,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5482,
    "c": 0.20864,
    "h": 341.1
  },
  "luminance": 0.14095
}

Semantic roles & 50–950 ramp

primary
#BA2894
secondary
#73CA8A
accent
#E86C40
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2894

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

Preview Lab → · Contrast checker → · Palette generator →

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