#BA2299#BA2299

#BA2299 is a mid, highly saturated pink. Relative luminance 0.139; OKLCH L 54.7% C 0.217 H 339.1°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#BA2299
RGBrgb(186, 34, 153)
HSLhsl(313, 69%, 43%)
HSVhsv(313, 82%, 73%)
CMYKcmyk(0%, 81.7%, 17.7%, 27.1%)
CIE-LABlab(44.07, 68.02, -28.59)
CIE-LCHlch(44.07, 73.78, 337.21°)
OKLaboklab(54.68% 0.2027 -0.0775)
OKLCHoklch(54.68% 0.217 339.1)
XYZxyz(26.5722, 13.8858, 31.4116)
Luminance0.1388 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2299 #22BA43
analogous
#8F22BA #BA2299 #BA224D
triadic
#BA2299 #99BA22 #2299BA
tetradic
#BA2299 #BA8F22 #22BA43 #224DBA
square
#BA2299 #BA8F22 #22BA43 #224DBA
split-complementary
#BA2299 #4DBA22 #22BA8F
monochromatic
#530F44 #86196E #BA2299 #DC3EB9 #E571CC

Accessibility & contrast

On white

5.56
#BA2299 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#BA2299 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2299
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2299#FFFFFF#000000##FFFFFF
##BA22991.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D599C
Deuteranopia (green-blind)
#627096
Tritanopia (blue-blind)
#C52A5D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba2299;
/* rgb */ color: rgb(186, 34, 153);
/* oklch */ color: oklch(54.7% 0.217 339.1);
Tailwind
colors: {
  custom: {
    50: '#d371b7',
    500: '#ba2299',
    950: '#000000',
  },
}
SCSS
$custom: #ba2299;
$custom-light: #d371b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2299",
  "rgb": {
    "r": 186,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 313.026,
    "s": 69.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54676,
    "c": 0.21697,
    "h": 339.1
  },
  "luminance": 0.13883
}

Semantic roles & 50–950 ramp

primary
#BA2299
secondary
#6CCC81
accent
#EC623C
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2299

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

Preview Lab → · Contrast checker → · Palette generator →

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