#BA2D95#BA2D95

#BA2D95 is a mid, highly saturated pink. Relative luminance 0.145; OKLCH L 55.2% C 0.204 H 340.9°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#BA2D95
RGBrgb(186, 45, 149)
HSLhsl(316, 61%, 45%)
HSVhsv(316, 76%, 73%)
CMYKcmyk(0%, 75.8%, 19.9%, 27.1%)
CIE-LABlab(44.93, 64.50, -24.84)
CIE-LCHlch(44.93, 69.12, 338.94°)
OKLaboklab(55.23% 0.1931 -0.0669)
OKLCHoklch(55.23% 0.204 340.9)
XYZxyz(26.6137, 14.4885, 29.8229)
Luminance0.1449 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2D95 #2DBA52
analogous
#992DBA #BA2D95 #BA2D4E
triadic
#BA2D95 #95BA2D #2D95BA
tetradic
#BA2D95 #BA992D #2DBA52 #2D4EBA
square
#BA2D95 #BA992D #2DBA52 #2D4EBA
split-complementary
#BA2D95 #4EBA2D #2DBA99
monochromatic
#571546 #89216E #BA2D95 #D550B2 #E081C7

Accessibility & contrast

On white

5.39
#BA2D95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#BA2D95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2D95
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2D95#FFFFFF#000000##FFFFFF
##BA2D951.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395C98
Deuteranopia (green-blind)
#677292
Tritanopia (blue-blind)
#C5315E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba2d95;
/* rgb */ color: rgb(186, 45, 149);
/* oklch */ color: oklch(55.2% 0.204 340.9);
Tailwind
colors: {
  custom: {
    50: '#d375b4',
    500: '#ba2d95',
    950: '#000000',
  },
}
SCSS
$custom: #ba2d95;
$custom-light: #d375b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2d95",
  "rgb": {
    "r": 186,
    "g": 45,
    "b": 149
  },
  "hsl": {
    "h": 315.745,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55234,
    "c": 0.20436,
    "h": 340.9
  },
  "luminance": 0.14486
}

Semantic roles & 50–950 ramp

primary
#BA2D95
secondary
#79C98E
accent
#E46E44
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2D95

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

Preview Lab → · Contrast checker → · Palette generator →

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