#BA2D6D#BA2D6D

#BA2D6D is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.6% C 0.184 H 358.0°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#BA2D6D
RGBrgb(186, 45, 109)
HSLhsl(333, 61%, 45%)
HSVhsv(333, 76%, 73%)
CMYKcmyk(0%, 75.8%, 41.4%, 27.1%)
CIE-LABlab(43.39, 59.80, -2.68)
CIE-LCHlch(43.39, 59.86, 357.43°)
OKLaboklab(53.62% 0.1837 -0.0063)
OKLCHoklch(53.62% 0.184 358)
XYZxyz(23.9502, 13.4231, 15.7947)
Luminance0.1342 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2D6D #2DBA7A
analogous
#BA2DB3 #BA2D6D #BA332D
triadic
#BA2D6D #6DBA2D #2D6DBA
tetradic
#BA2D6D #B3BA2D #2DBA7A #332DBA
square
#BA2D6D #B3BA2D #2DBA7A #332DBA
split-complementary
#BA2D6D #2DBA33 #2DB3BA
monochromatic
#571533 #892150 #BA2D6D #D5508C #E081AC

Accessibility & contrast

On white

5.70
#BA2D6D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#BA2D6D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2D6D
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2D6D#FFFFFF#000000##FFFFFF
##BA2D6D1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B566F
Deuteranopia (green-blind)
#72706A
Tritanopia (blue-blind)
#C91749
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba2d6d;
/* rgb */ color: rgb(186, 45, 109);
/* oklch */ color: oklch(53.6% 0.184 358.0);
Tailwind
colors: {
  custom: {
    50: '#d47396',
    500: '#ba2d6d',
    950: '#000000',
  },
}
SCSS
$custom: #ba2d6d;
$custom-light: #d47396;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2d6d",
  "rgb": {
    "r": 186,
    "g": 45,
    "b": 109
  },
  "hsl": {
    "h": 332.766,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53618,
    "c": 0.18384,
    "h": 358
  },
  "luminance": 0.1342
}

Semantic roles & 50–950 ramp

primary
#BA2D6D
secondary
#79C9A5
accent
#E49B44
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BA2D6D

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

Preview Lab → · Contrast checker → · Palette generator →

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