#BA2863#BA2863

#BA2863 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.9% C 0.185 H 2.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#BA2863
RGBrgb(186, 40, 99)
HSLhsl(336, 65%, 44%)
HSVhsv(336, 78%, 73%)
CMYKcmyk(0%, 78.5%, 46.8%, 27.1%)
CIE-LABlab(42.55, 60.38, 2.32)
CIE-LCHlch(42.55, 60.42, 2.20°)
OKLaboklab(52.9% 0.1853 0.0066)
OKLCHoklch(52.9% 0.185 2)
XYZxyz(23.2626, 12.8607, 13.0594)
Luminance0.1286 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2863 #28BA7F
analogous
#BA28AC #BA2863 #BA3628
triadic
#BA2863 #63BA28 #2863BA
tetradic
#BA2863 #ACBA28 #28BA7F #3628BA
square
#BA2863 #ACBA28 #28BA7F #3628BA
split-complementary
#BA2863 #28BA36 #28ACBA
monochromatic
#55122D #881D48 #BA2863 #D84882 #E27AA4

Accessibility & contrast

On white

5.88
#BA2863 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#BA2863 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2863
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2863#FFFFFF#000000##FFFFFF
##BA28631.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5264
Deuteranopia (green-blind)
#736F60
Tritanopia (blue-blind)
#CA0042
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2863;
/* rgb */ color: rgb(186, 40, 99);
/* oklch */ color: oklch(52.9% 0.185 2.0);
Tailwind
colors: {
  custom: {
    50: '#d5718f',
    500: '#ba2863',
    950: '#000000',
  },
}
SCSS
$custom: #ba2863;
$custom-light: #d5718f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2863",
  "rgb": {
    "r": 186,
    "g": 40,
    "b": 99
  },
  "hsl": {
    "h": 335.753,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52901,
    "c": 0.18541,
    "h": 2
  },
  "luminance": 0.12858
}

Semantic roles & 50–950 ramp

primary
#BA2863
secondary
#73CAA7
accent
#E8A440
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BA2863

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

Preview Lab → · Contrast checker → · Palette generator →

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