#BA3161#BA3161

#BA3161 is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.6% C 0.176 H 4.3°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#BA3161
RGBrgb(186, 49, 97)
HSLhsl(339, 58%, 46%)
HSVhsv(339, 74%, 73%)
CMYKcmyk(0%, 73.7%, 47.8%, 27.1%)
CIE-LABlab(43.51, 57.34, 4.95)
CIE-LCHlch(43.51, 57.56, 4.93°)
OKLaboklab(53.59% 0.1754 0.0132)
OKLCHoklch(53.59% 0.176 4.3)
XYZxyz(23.5076, 13.5019, 12.6752)
Luminance0.1350 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3161 #31BA8A
analogous
#BA31A5 #BA3161 #BA4531
triadic
#BA3161 #61BA31 #3161BA
tetradic
#BA3161 #A5BA31 #31BA8A #4531BA
square
#BA3161 #A5BA31 #31BA8A #4531BA
split-complementary
#BA3161 #31BA45 #31A5BA
monochromatic
#59172E #8A2448 #BA3161 #D25681 #DF86A5

Accessibility & contrast

On white

5.68
#BA3161 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#BA3161 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3161
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3161#FFFFFF#000000##FFFFFF
##BA31611.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515662
Deuteranopia (green-blind)
#76715E
Tritanopia (blue-blind)
#CA1545
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba3161;
/* rgb */ color: rgb(186, 49, 97);
/* oklch */ color: oklch(53.6% 0.176 4.3);
Tailwind
colors: {
  custom: {
    50: '#d4758d',
    500: '#ba3161',
    950: '#000000',
  },
}
SCSS
$custom: #ba3161;
$custom-light: #d4758d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3161",
  "rgb": {
    "r": 186,
    "g": 49,
    "b": 97
  },
  "hsl": {
    "h": 338.978,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53587,
    "c": 0.17591,
    "h": 4.3
  },
  "luminance": 0.13499
}

Semantic roles & 50–950 ramp

primary
#BA3161
secondary
#7EC9AF
accent
#E2AB46
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BA3161

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

Preview Lab → · Contrast checker → · Palette generator →

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