#BA2993#BA2993

#BA2993 is a mid, highly saturated pink. Relative luminance 0.141; OKLCH L 54.8% C 0.207 H 341.5°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#BA2993
RGBrgb(186, 41, 147)
HSLhsl(316, 64%, 45%)
HSVhsv(316, 78%, 73%)
CMYKcmyk(0%, 78%, 21%, 27.1%)
CIE-LABlab(44.42, 65.41, -24.41)
CIE-LCHlch(44.42, 69.81, 339.53°)
OKLaboklab(54.84% 0.1964 -0.0657)
OKLCHoklch(54.84% 0.207 341.5)
XYZxyz(26.3100, 14.1343, 28.9407)
Luminance0.1413 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2993 #29BA50
analogous
#9929BA #BA2993 #BA294A
triadic
#BA2993 #93BA29 #2993BA
tetradic
#BA2993 #BA9929 #29BA50 #294ABA
square
#BA2993 #BA9929 #29BA50 #294ABA
split-complementary
#BA2993 #4ABA29 #29BA99
monochromatic
#561344 #881E6B #BA2993 #D749B1 #E27BC6

Accessibility & contrast

On white

5.49
#BA2993 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#BA2993 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2993
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2993#FFFFFF#000000##FFFFFF
##BA29931.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375A96
Deuteranopia (green-blind)
#667190
Tritanopia (blue-blind)
#C62C5C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba2993;
/* rgb */ color: rgb(186, 41, 147);
/* oklch */ color: oklch(54.8% 0.207 341.5);
Tailwind
colors: {
  custom: {
    50: '#d373b3',
    500: '#ba2993',
    950: '#000000',
  },
}
SCSS
$custom: #ba2993;
$custom-light: #d373b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2993",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 147
  },
  "hsl": {
    "h": 316.138,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54843,
    "c": 0.20708,
    "h": 341.5
  },
  "luminance": 0.14132
}

Semantic roles & 50–950 ramp

primary
#BA2993
secondary
#75CA8C
accent
#E76E41
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2993

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

Preview Lab → · Contrast checker → · Palette generator →

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