#BA2B66#BA2B66

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

Color values

HEX#BA2B66
RGBrgb(186, 43, 102)
HSLhsl(335, 62%, 45%)
HSVhsv(335, 77%, 73%)
CMYKcmyk(0%, 76.9%, 45.2%, 27.1%)
CIE-LABlab(42.96, 59.75, 1.03)
CIE-LCHlch(42.96, 59.76, 0.99°)
OKLaboklab(53.23% 0.1834 0.0033)
OKLCHoklch(53.23% 0.183 1)
XYZxyz(23.5137, 13.1293, 13.8638)
Luminance0.1313 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2B66 #2BBA7F
analogous
#BA2BAD #BA2B66 #BA382B
triadic
#BA2B66 #66BA2B #2B66BA
tetradic
#BA2B66 #ADBA2B #2BBA7F #382BBA
square
#BA2B66 #ADBA2B #2BBA7F #382BBA
split-complementary
#BA2B66 #2BBA38 #2BADBA
monochromatic
#57142F #88204B #BA2B66 #D64C85 #E17EA7

Accessibility & contrast

On white

5.79
#BA2B66 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#BA2B66 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2B66
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2B66#FFFFFF#000000##FFFFFF
##BA2B661.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5467
Deuteranopia (green-blind)
#736F63
Tritanopia (blue-blind)
#CA0C45
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2b66;
/* rgb */ color: rgb(186, 43, 102);
/* oklch */ color: oklch(53.2% 0.183 1.0);
Tailwind
colors: {
  custom: {
    50: '#d47291',
    500: '#ba2b66',
    950: '#000000',
  },
}
SCSS
$custom: #ba2b66;
$custom-light: #d47291;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2b66",
  "rgb": {
    "r": 186,
    "g": 43,
    "b": 102
  },
  "hsl": {
    "h": 335.245,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53227,
    "c": 0.18346,
    "h": 1
  },
  "luminance": 0.13126
}

Semantic roles & 50–950 ramp

primary
#BA2B66
secondary
#77CAA8
accent
#E6A242
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BA2B66

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

Preview Lab → · Contrast checker → · Palette generator →

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