#BA2A93#BA2A93

#BA2A93 is a mid, highly saturated pink. Relative luminance 0.142; OKLCH L 54.9% C 0.206 H 341.5°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#BA2A93
RGBrgb(186, 42, 147)
HSLhsl(316, 63%, 45%)
HSVhsv(316, 77%, 73%)
CMYKcmyk(0%, 77.4%, 21%, 27.1%)
CIE-LABlab(44.52, 65.12, -24.26)
CIE-LCHlch(44.52, 69.49, 339.57°)
OKLaboklab(54.92% 0.1955 -0.0653)
OKLCHoklch(54.92% 0.206 341.5)
XYZxyz(26.3450, 14.2044, 28.9524)
Luminance0.1420 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2A93 #2ABA51
analogous
#992ABA #BA2A93 #BA2A4B
triadic
#BA2A93 #93BA2A #2A93BA
tetradic
#BA2A93 #BA992A #2ABA51 #2A4BBA
square
#BA2A93 #BA992A #2ABA51 #2A4BBA
split-complementary
#BA2A93 #4BBA2A #2ABA99
monochromatic
#561344 #881F6C #BA2A93 #D64BB1 #E27DC6

Accessibility & contrast

On white

5.47
#BA2A93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#BA2A93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2A93
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2A93#FFFFFF#000000##FFFFFF
##BA2A931.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385A96
Deuteranopia (green-blind)
#667290
Tritanopia (blue-blind)
#C62D5C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba2a93;
/* rgb */ color: rgb(186, 42, 147);
/* oklch */ color: oklch(54.9% 0.206 341.5);
Tailwind
colors: {
  custom: {
    50: '#d373b3',
    500: '#ba2a93',
    950: '#000000',
  },
}
SCSS
$custom: #ba2a93;
$custom-light: #d373b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2a93",
  "rgb": {
    "r": 186,
    "g": 42,
    "b": 147
  },
  "hsl": {
    "h": 316.25,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54915,
    "c": 0.20612,
    "h": 341.5
  },
  "luminance": 0.14202
}

Semantic roles & 50–950 ramp

primary
#BA2A93
secondary
#76CA8D
accent
#E66E42
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2A93

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

Preview Lab → · Contrast checker → · Palette generator →

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