#BA2B61#BA2B61

#BA2B61 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.1% C 0.182 H 3.4°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#BA2B61
RGBrgb(186, 43, 97)
HSLhsl(337, 62%, 45%)
HSVhsv(337, 77%, 73%)
CMYKcmyk(0%, 76.9%, 47.8%, 27.1%)
CIE-LABlab(42.81, 59.30, 3.95)
CIE-LCHlch(42.81, 59.43, 3.81°)
OKLaboklab(53.07% 0.1817 0.0107)
OKLCHoklch(53.07% 0.182 3.4)
XYZxyz(23.2732, 13.0331, 12.5971)
Luminance0.1303 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2B61 #2BBA84
analogous
#BA2BA8 #BA2B61 #BA3D2B
triadic
#BA2B61 #61BA2B #2B61BA
tetradic
#BA2B61 #A8BA2B #2BBA84 #3D2BBA
square
#BA2B61 #A8BA2B #2BBA84 #3D2BBA
split-complementary
#BA2B61 #2BBA3D #2BA8BA
monochromatic
#57142D #882047 #BA2B61 #D64C80 #E17EA4

Accessibility & contrast

On white

5.82
#BA2B61 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2B61
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2B61#FFFFFF#000000##FFFFFF
##BA2B611.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5362
Deuteranopia (green-blind)
#746F5E
Tritanopia (blue-blind)
#CA0543
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2b61;
/* rgb */ color: rgb(186, 43, 97);
/* oklch */ color: oklch(53.1% 0.182 3.4);
Tailwind
colors: {
  custom: {
    50: '#d5728d',
    500: '#ba2b61',
    950: '#000000',
  },
}
SCSS
$custom: #ba2b61;
$custom-light: #d5728d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2b61",
  "rgb": {
    "r": 186,
    "g": 43,
    "b": 97
  },
  "hsl": {
    "h": 337.343,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53074,
    "c": 0.18202,
    "h": 3.4
  },
  "luminance": 0.1303
}

Semantic roles & 50–950 ramp

primary
#BA2B61
secondary
#77CAAB
accent
#E6A842
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BA2B61

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

Preview Lab → · Contrast checker → · Palette generator →

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