#BA2D93#BA2D93

#BA2D93 is a mid, highly saturated pink. Relative luminance 0.144; OKLCH L 55.1% C 0.203 H 341.7°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#BA2D93
RGBrgb(186, 45, 147)
HSLhsl(317, 61%, 45%)
HSVhsv(317, 76%, 73%)
CMYKcmyk(0%, 75.8%, 21%, 27.1%)
CIE-LABlab(44.84, 64.23, -23.77)
CIE-LCHlch(44.84, 68.49, 339.69°)
OKLaboklab(55.14% 0.1928 -0.0639)
OKLCHoklch(55.14% 0.203 341.7)
XYZxyz(26.4554, 14.4252, 28.9892)
Luminance0.1442 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2D93 #2DBA54
analogous
#9B2DBA #BA2D93 #BA2D4C
triadic
#BA2D93 #93BA2D #2D93BA
tetradic
#BA2D93 #BA9B2D #2DBA54 #2D4CBA
square
#BA2D93 #BA9B2D #2DBA54 #2D4CBA
split-complementary
#BA2D93 #4CBA2D #2DBA9B
monochromatic
#571545 #89216C #BA2D93 #D550B0 #E081C6

Accessibility & contrast

On white

5.41
#BA2D93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#BA2D93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2D93
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2D93#FFFFFF#000000##FFFFFF
##BA2D931.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba2d93;
/* rgb */ color: rgb(186, 45, 147);
/* oklch */ color: oklch(55.1% 0.203 341.7);
Tailwind
colors: {
  custom: {
    50: '#d375b3',
    500: '#ba2d93',
    950: '#000000',
  },
}
SCSS
$custom: #ba2d93;
$custom-light: #d375b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2d93",
  "rgb": {
    "r": 186,
    "g": 45,
    "b": 147
  },
  "hsl": {
    "h": 316.596,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5514,
    "c": 0.20311,
    "h": 341.7
  },
  "luminance": 0.14422
}

Semantic roles & 50–950 ramp

primary
#BA2D93
secondary
#79C990
accent
#E47044
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2D93

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

Preview Lab → · Contrast checker → · Palette generator →

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