#BA2895#BA2895

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

Color values

HEX#BA2895
RGBrgb(186, 40, 149)
HSLhsl(315, 65%, 44%)
HSVhsv(315, 78%, 73%)
CMYKcmyk(0%, 78.5%, 19.9%, 27.1%)
CIE-LABlab(44.42, 65.95, -25.63)
CIE-LCHlch(44.42, 70.75, 338.76°)
OKLaboklab(54.87% 0.1975 -0.0691)
OKLCHoklch(54.87% 0.209 340.7)
XYZxyz(26.4341, 14.1293, 29.7630)
Luminance0.1413 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2895 #28BA4D
analogous
#9628BA #BA2895 #BA284C
triadic
#BA2895 #95BA28 #2895BA
tetradic
#BA2895 #BA9628 #28BA4D #284CBA
square
#BA2895 #BA9628 #28BA4D #284CBA
split-complementary
#BA2895 #4CBA28 #28BA96
monochromatic
#551244 #881D6D #BA2895 #D848B3 #E27AC8

Accessibility & contrast

On white

5.49
#BA2895 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#BA2895 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2895
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2895#FFFFFF#000000##FFFFFF
##BA28951.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355A98
Deuteranopia (green-blind)
#657192
Tritanopia (blue-blind)
#C52C5D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba2895;
/* rgb */ color: rgb(186, 40, 149);
/* oklch */ color: oklch(54.9% 0.209 340.7);
Tailwind
colors: {
  custom: {
    50: '#d373b4',
    500: '#ba2895',
    950: '#000000',
  },
}
SCSS
$custom: #ba2895;
$custom-light: #d373b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2895",
  "rgb": {
    "r": 186,
    "g": 40,
    "b": 149
  },
  "hsl": {
    "h": 315.205,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54867,
    "c": 0.20926,
    "h": 340.7
  },
  "luminance": 0.14127
}

Semantic roles & 50–950 ramp

primary
#BA2895
secondary
#73CA89
accent
#E86B40
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2895

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

Preview Lab → · Contrast checker → · Palette generator →

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