#BA2D66#BA2D66

#BA2D66 is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.4% C 0.181 H 1.3°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#BA2D66
RGBrgb(186, 45, 102)
HSLhsl(336, 61%, 45%)
HSVhsv(336, 76%, 73%)
CMYKcmyk(0%, 75.8%, 45.2%, 27.1%)
CIE-LABlab(43.18, 59.13, 1.36)
CIE-LCHlch(43.18, 59.14, 1.31°)
OKLaboklab(53.39% 0.1814 0.0042)
OKLCHoklch(53.39% 0.181 1.3)
XYZxyz(23.5882, 13.2783, 13.8886)
Luminance0.1328 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2D66 #2DBA81
analogous
#BA2DAC #BA2D66 #BA3B2D
triadic
#BA2D66 #66BA2D #2D66BA
tetradic
#BA2D66 #ACBA2D #2DBA81 #3B2DBA
square
#BA2D66 #ACBA2D #2DBA81 #3B2DBA
split-complementary
#BA2D66 #2DBA3B #2DACBA
monochromatic
#571530 #89214B #BA2D66 #D55085 #E081A8

Accessibility & contrast

On white

5.75
#BA2D66 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2D66
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2D66#FFFFFF#000000##FFFFFF
##BA2D661.005.753.665.75
#FFFFFF5.751.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5567
Deuteranopia (green-blind)
#737063
Tritanopia (blue-blind)
#CA1146
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba2d66;
/* rgb */ color: rgb(186, 45, 102);
/* oklch */ color: oklch(53.4% 0.181 1.3);
Tailwind
colors: {
  custom: {
    50: '#d47391',
    500: '#ba2d66',
    950: '#000000',
  },
}
SCSS
$custom: #ba2d66;
$custom-light: #d47391;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2d66",
  "rgb": {
    "r": 186,
    "g": 45,
    "b": 102
  },
  "hsl": {
    "h": 335.745,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5339,
    "c": 0.18147,
    "h": 1.3
  },
  "luminance": 0.13275
}

Semantic roles & 50–950 ramp

primary
#BA2D66
secondary
#79C9A9
accent
#E4A344
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BA2D66

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

Preview Lab → · Contrast checker → · Palette generator →

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