#BA2D94#BA2D94

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

Color values

HEX#BA2D94
RGBrgb(186, 45, 148)
HSLhsl(316, 61%, 45%)
HSVhsv(316, 76%, 73%)
CMYKcmyk(0%, 75.8%, 20.4%, 27.1%)
CIE-LABlab(44.88, 64.37, -24.31)
CIE-LCHlch(44.88, 68.80, 339.31°)
OKLaboklab(55.19% 0.1929 -0.0654)
OKLCHoklch(55.19% 0.204 341.3)
XYZxyz(26.5342, 14.4567, 29.4043)
Luminance0.1445 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2D94 #2DBA53
analogous
#992DBA #BA2D94 #BA2D4E
triadic
#BA2D94 #94BA2D #2D94BA
tetradic
#BA2D94 #BA992D #2DBA53 #2D4EBA
square
#BA2D94 #BA992D #2DBA53 #2D4EBA
split-complementary
#BA2D94 #4EBA2D #2DBA99
monochromatic
#571546 #89216D #BA2D94 #D550B1 #E081C7

Accessibility & contrast

On white

5.40
#BA2D94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#BA2D94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2D94
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2D94#FFFFFF#000000##FFFFFF
##BA2D941.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5C97
Deuteranopia (green-blind)
#677291
Tritanopia (blue-blind)
#C6305D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba2d94;
/* rgb */ color: rgb(186, 45, 148);
/* oklch */ color: oklch(55.2% 0.204 341.3);
Tailwind
colors: {
  custom: {
    50: '#d375b3',
    500: '#ba2d94',
    950: '#000000',
  },
}
SCSS
$custom: #ba2d94;
$custom-light: #d375b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2d94",
  "rgb": {
    "r": 186,
    "g": 45,
    "b": 148
  },
  "hsl": {
    "h": 316.17,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55187,
    "c": 0.20374,
    "h": 341.3
  },
  "luminance": 0.14454
}

Semantic roles & 50–950 ramp

primary
#BA2D94
secondary
#79C98F
accent
#E46F44
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2D94

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

Preview Lab → · Contrast checker → · Palette generator →

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