#BA2B63#BA2B63

#BA2B63 is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.1% C 0.183 H 2.4°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#BA2B63
RGBrgb(186, 43, 99)
HSLhsl(337, 62%, 45%)
HSVhsv(337, 77%, 73%)
CMYKcmyk(0%, 76.9%, 46.8%, 27.1%)
CIE-LABlab(42.87, 59.48, 2.78)
CIE-LCHlch(42.87, 59.54, 2.68°)
OKLaboklab(53.13% 0.1824 0.0078)
OKLCHoklch(53.13% 0.183 2.4)
XYZxyz(23.3676, 13.0709, 13.0944)
Luminance0.1307 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2B63 #2BBA82
analogous
#BA2BAB #BA2B63 #BA3A2B
triadic
#BA2B63 #63BA2B #2B63BA
tetradic
#BA2B63 #ABBA2B #2BBA82 #3A2BBA
square
#BA2B63 #ABBA2B #2BBA82 #3A2BBA
split-complementary
#BA2B63 #2BBA3A #2BABBA
monochromatic
#57142E #882049 #BA2B63 #D64C82 #E17EA5

Accessibility & contrast

On white

5.81
#BA2B63 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#BA2B63 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2B63
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2B63#FFFFFF#000000##FFFFFF
##BA2B631.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5464
Deuteranopia (green-blind)
#736F60
Tritanopia (blue-blind)
#CA0843
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2b63;
/* rgb */ color: rgb(186, 43, 99);
/* oklch */ color: oklch(53.1% 0.183 2.4);
Tailwind
colors: {
  custom: {
    50: '#d5728f',
    500: '#ba2b63',
    950: '#000000',
  },
}
SCSS
$custom: #ba2b63;
$custom-light: #d5728f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2b63",
  "rgb": {
    "r": 186,
    "g": 43,
    "b": 99
  },
  "hsl": {
    "h": 336.503,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53134,
    "c": 0.18257,
    "h": 2.4
  },
  "luminance": 0.13068
}

Semantic roles & 50–950 ramp

primary
#BA2B63
secondary
#77CAA9
accent
#E6A642
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BA2B63

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

Preview Lab → · Contrast checker → · Palette generator →

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