#BA2893#BA2893

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

Color values

HEX#BA2893
RGBrgb(186, 40, 147)
HSLhsl(316, 65%, 44%)
HSVhsv(316, 78%, 73%)
CMYKcmyk(0%, 78.5%, 21%, 27.1%)
CIE-LABlab(44.33, 65.69, -24.56)
CIE-LCHlch(44.33, 70.13, 339.50°)
OKLaboklab(54.77% 0.1972 -0.0661)
OKLCHoklch(54.77% 0.208 341.5)
XYZxyz(26.2758, 14.0660, 28.9293)
Luminance0.1406 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2893 #28BA4F
analogous
#9828BA #BA2893 #BA284A
triadic
#BA2893 #93BA28 #2893BA
tetradic
#BA2893 #BA9828 #28BA4F #284ABA
square
#BA2893 #BA9828 #28BA4F #284ABA
split-complementary
#BA2893 #4ABA28 #28BA98
monochromatic
#551243 #881D6B #BA2893 #D848B1 #E27AC7

Accessibility & contrast

On white

5.51
#BA2893 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#BA2893 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2893
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2893#FFFFFF#000000##FFFFFF
##BA28931.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365A96
Deuteranopia (green-blind)
#667190
Tritanopia (blue-blind)
#C62B5B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba2893;
/* rgb */ color: rgb(186, 40, 147);
/* oklch */ color: oklch(54.8% 0.208 341.5);
Tailwind
colors: {
  custom: {
    50: '#d373b3',
    500: '#ba2893',
    950: '#000000',
  },
}
SCSS
$custom: #ba2893;
$custom-light: #d373b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2893",
  "rgb": {
    "r": 186,
    "g": 40,
    "b": 147
  },
  "hsl": {
    "h": 316.027,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54772,
    "c": 0.20802,
    "h": 341.5
  },
  "luminance": 0.14063
}

Semantic roles & 50–950 ramp

primary
#BA2893
secondary
#73CA8B
accent
#E86D40
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2893

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

Preview Lab → · Contrast checker → · Palette generator →

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