#BA2865#BA2865

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

Color values

HEX#BA2865
RGBrgb(186, 40, 101)
HSLhsl(335, 65%, 44%)
HSVhsv(335, 78%, 73%)
CMYKcmyk(0%, 78.5%, 45.7%, 27.1%)
CIE-LABlab(42.61, 60.56, 1.15)
CIE-LCHlch(42.61, 60.57, 1.09°)
OKLaboklab(52.96% 0.186 0.0036)
OKLCHoklch(52.96% 0.186 1.1)
XYZxyz(23.3594, 12.8994, 13.5692)
Luminance0.1290 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2865 #28BA7D
analogous
#BA28AE #BA2865 #BA3428
triadic
#BA2865 #65BA28 #2865BA
tetradic
#BA2865 #AEBA28 #28BA7D #3428BA
square
#BA2865 #AEBA28 #28BA7D #3428BA
split-complementary
#BA2865 #28BA34 #28AEBA
monochromatic
#55122E #881D4A #BA2865 #D84884 #E27AA6

Accessibility & contrast

On white

5.87
#BA2865 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2865
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2865#FFFFFF#000000##FFFFFF
##BA28651.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5366
Deuteranopia (green-blind)
#726F62
Tritanopia (blue-blind)
#CA0243
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2865;
/* rgb */ color: rgb(186, 40, 101);
/* oklch */ color: oklch(53.0% 0.186 1.1);
Tailwind
colors: {
  custom: {
    50: '#d57190',
    500: '#ba2865',
    950: '#000000',
  },
}
SCSS
$custom: #ba2865;
$custom-light: #d57190;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2865",
  "rgb": {
    "r": 186,
    "g": 40,
    "b": 101
  },
  "hsl": {
    "h": 334.932,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52963,
    "c": 0.18601,
    "h": 1.1
  },
  "luminance": 0.12896
}

Semantic roles & 50–950 ramp

primary
#BA2865
secondary
#73CAA6
accent
#E8A240
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BA2865

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

Preview Lab → · Contrast checker → · Palette generator →

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