#BA2D74#BA2D74

#BA2D74 is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.9% C 0.187 H 354.8°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#BA2D74
RGBrgb(186, 45, 116)
HSLhsl(330, 61%, 45%)
HSVhsv(330, 76%, 73%)
CMYKcmyk(0%, 75.8%, 37.6%, 27.1%)
CIE-LABlab(43.62, 60.52, -6.68)
CIE-LCHlch(43.62, 60.89, 353.70°)
OKLaboklab(53.86% 0.1859 -0.0169)
OKLCHoklch(53.86% 0.187 354.8)
XYZxyz(24.3421, 13.5798, 17.8589)
Luminance0.1358 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2D74 #2DBA73
analogous
#B92DBA #BA2D74 #BA2D2E
triadic
#BA2D74 #74BA2D #2D74BA
tetradic
#BA2D74 #BAB92D #2DBA73 #2D2EBA
square
#BA2D74 #BAB92D #2DBA73 #2D2EBA
split-complementary
#BA2D74 #2EBA2D #2DBAB9
monochromatic
#571537 #892155 #BA2D74 #D55093 #E081B1

Accessibility & contrast

On white

5.65
#BA2D74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#BA2D74 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2D74
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2D74#FFFFFF#000000##FFFFFF
##BA2D741.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495776
Deuteranopia (green-blind)
#707071
Tritanopia (blue-blind)
#C91C4D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba2d74;
/* rgb */ color: rgb(186, 45, 116);
/* oklch */ color: oklch(53.9% 0.187 354.8);
Tailwind
colors: {
  custom: {
    50: '#d4749c',
    500: '#ba2d74',
    950: '#000000',
  },
}
SCSS
$custom: #ba2d74;
$custom-light: #d4749c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2d74",
  "rgb": {
    "r": 186,
    "g": 45,
    "b": 116
  },
  "hsl": {
    "h": 329.787,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53862,
    "c": 0.18662,
    "h": 354.8
  },
  "luminance": 0.13577
}

Semantic roles & 50–950 ramp

primary
#BA2D74
secondary
#79C9A1
accent
#E49344
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA2D74

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

Preview Lab → · Contrast checker → · Palette generator →

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