#BA1D5F#BA1D5F

#BA1D5F is a mid, vivid pink. Relative luminance 0.121; OKLCH L 52.1% C 0.193 H 2.6°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#BA1D5F
RGBrgb(186, 29, 95)
HSLhsl(335, 73%, 42%)
HSVhsv(335, 84%, 73%)
CMYKcmyk(0%, 84.4%, 48.9%, 27.1%)
CIE-LABlab(41.45, 62.85, 3.24)
CIE-LCHlch(41.45, 62.93, 2.95°)
OKLaboklab(52.05% 0.193 0.0089)
OKLCHoklch(52.05% 0.193 2.6)
XYZxyz(22.7566, 12.1473, 11.9706)
Luminance0.1214 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA1D5F #1DBA78
analogous
#BA1DAE #BA1D5F #BA2A1D
triadic
#BA1D5F #5FBA1D #1D5FBA
tetradic
#BA1D5F #AEBA1D #1DBA78 #2A1DBA
square
#BA1D5F #AEBA1D #1DBA78 #2A1DBA
split-complementary
#BA1D5F #1DBA2A #1DAEBA
monochromatic
#500C29 #851544 #BA1D5F #DF357D #E86A9F

Accessibility & contrast

On white

6.12
#BA1D5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#BA1D5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA1D5F
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA1D5F#FFFFFF#000000##FFFFFF
##BA1D5F1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484F60
Deuteranopia (green-blind)
#716C5B
Tritanopia (blue-blind)
#CB003C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ba1d5f;
/* rgb */ color: rgb(186, 29, 95);
/* oklch */ color: oklch(52.1% 0.193 2.6);
Tailwind
colors: {
  custom: {
    50: '#d56d8c',
    500: '#ba1d5f',
    950: '#000000',
  },
}
SCSS
$custom: #ba1d5f;
$custom-light: #d56d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba1d5f",
  "rgb": {
    "r": 186,
    "g": 29,
    "b": 95
  },
  "hsl": {
    "h": 334.777,
    "s": 73.023,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52055,
    "c": 0.19321,
    "h": 2.6
  },
  "luminance": 0.12144
}

Semantic roles & 50–950 ramp

primary
#BA1D5F
secondary
#65CDA2
accent
#F0A338
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #BA1D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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