#BA2961#BA2961

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

Color values

HEX#BA2961
RGBrgb(186, 41, 97)
HSLhsl(337, 64%, 45%)
HSVhsv(337, 78%, 73%)
CMYKcmyk(0%, 78%, 47.8%, 27.1%)
CIE-LABlab(42.60, 59.91, 3.64)
CIE-LCHlch(42.60, 60.02, 3.48°)
OKLaboklab(52.92% 0.1837 0.01)
OKLCHoklch(52.92% 0.184 3.1)
XYZxyz(23.2023, 12.8912, 12.5734)
Luminance0.1289 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2961 #29BA82
analogous
#BA29AA #BA2961 #BA3A29
triadic
#BA2961 #61BA29 #2961BA
tetradic
#BA2961 #AABA29 #29BA82 #3A29BA
square
#BA2961 #AABA29 #29BA82 #3A29BA
split-complementary
#BA2961 #29BA3A #29AABA
monochromatic
#56132D #881E47 #BA2961 #D74980 #E27BA3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA2961#FFFFFF#000000##FFFFFF
##BA29611.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)
#4D5362
Deuteranopia (green-blind)
#736F5E
Tritanopia (blue-blind)
#CA0042
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2961;
/* rgb */ color: rgb(186, 41, 97);
/* oklch */ color: oklch(52.9% 0.184 3.1);
Tailwind
colors: {
  custom: {
    50: '#d5718d',
    500: '#ba2961',
    950: '#000000',
  },
}
SCSS
$custom: #ba2961;
$custom-light: #d5718d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2961",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 97
  },
  "hsl": {
    "h": 336.828,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52916,
    "c": 0.18392,
    "h": 3.1
  },
  "luminance": 0.12888
}

Semantic roles & 50–950 ramp

primary
#BA2961
secondary
#75CAA9
accent
#E7A741
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BA2961

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

Preview Lab → · Contrast checker → · Palette generator →

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