#BA2866#BA2866

#BA2866 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 53.0% C 0.186 H 0.7°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#BA2866
RGBrgb(186, 40, 102)
HSLhsl(335, 65%, 44%)
HSVhsv(335, 78%, 73%)
CMYKcmyk(0%, 78.5%, 45.2%, 27.1%)
CIE-LABlab(42.64, 60.65, 0.57)
CIE-LCHlch(42.64, 60.65, 0.54°)
OKLaboklab(53% 0.1863 0.0022)
OKLCHoklch(53% 0.186 0.7)
XYZxyz(23.4087, 12.9191, 13.8288)
Luminance0.1292 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2866 #28BA7C
analogous
#BA28AF #BA2866 #BA3328
triadic
#BA2866 #66BA28 #2866BA
tetradic
#BA2866 #AFBA28 #28BA7C #3328BA
square
#BA2866 #AFBA28 #28BA7C #3328BA
split-complementary
#BA2866 #28BA33 #28AFBA
monochromatic
#55122F #881D4A #BA2866 #D84885 #E27AA6

Accessibility & contrast

On white

5.86
#BA2866 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#BA2866 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2866
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2866#FFFFFF#000000##FFFFFF
##BA28661.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5367
Deuteranopia (green-blind)
#726F63
Tritanopia (blue-blind)
#CA0344
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2866;
/* rgb */ color: rgb(186, 40, 102);
/* oklch */ color: oklch(53.0% 0.186 0.7);
Tailwind
colors: {
  custom: {
    50: '#d47191',
    500: '#ba2866',
    950: '#000000',
  },
}
SCSS
$custom: #ba2866;
$custom-light: #d47191;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2866",
  "rgb": {
    "r": 186,
    "g": 40,
    "b": 102
  },
  "hsl": {
    "h": 334.521,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52995,
    "c": 0.18632,
    "h": 0.7
  },
  "luminance": 0.12916
}

Semantic roles & 50–950 ramp

primary
#BA2866
secondary
#73CAA5
accent
#E8A140
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BA2866

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

Preview Lab → · Contrast checker → · Palette generator →

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