#BA2B6F#BA2B6F

#BA2B6F is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.5% C 0.187 H 356.9°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#BA2B6F
RGBrgb(186, 43, 111)
HSLhsl(331, 62%, 45%)
HSVhsv(331, 77%, 73%)
CMYKcmyk(0%, 76.9%, 40.3%, 27.1%)
CIE-LABlab(43.24, 60.63, -4.16)
CIE-LCHlch(43.24, 60.77, 356.08°)
OKLaboklab(53.52% 0.1863 -0.0102)
OKLCHoklch(53.52% 0.187 356.9)
XYZxyz(23.9845, 13.3176, 16.3434)
Luminance0.1331 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2B6F #2BBA76
analogous
#BA2BB6 #BA2B6F #BA2F2B
triadic
#BA2B6F #6FBA2B #2B6FBA
tetradic
#BA2B6F #B6BA2B #2BBA76 #2F2BBA
square
#BA2B6F #B6BA2B #2BBA76 #2F2BBA
split-complementary
#BA2B6F #2BBA2F #2BB6BA
monochromatic
#571434 #882051 #BA2B6F #D64C8E #E17EAD

Accessibility & contrast

On white

5.73
#BA2B6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#BA2B6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2B6F
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2B6F#FFFFFF#000000##FFFFFF
##BA2B6F1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5571
Deuteranopia (green-blind)
#71706C
Tritanopia (blue-blind)
#C91549
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba2b6f;
/* rgb */ color: rgb(186, 43, 111);
/* oklch */ color: oklch(53.5% 0.187 356.9);
Tailwind
colors: {
  custom: {
    50: '#d47398',
    500: '#ba2b6f',
    950: '#000000',
  },
}
SCSS
$custom: #ba2b6f;
$custom-light: #d47398;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2b6f",
  "rgb": {
    "r": 186,
    "g": 43,
    "b": 111
  },
  "hsl": {
    "h": 331.469,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53524,
    "c": 0.18662,
    "h": 356.9
  },
  "luminance": 0.13315
}

Semantic roles & 50–950 ramp

primary
#BA2B6F
secondary
#77CAA2
accent
#E69842
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BA2B6F

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

Preview Lab → · Contrast checker → · Palette generator →

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