#BA299E#BA299E

#BA299E is a mid, highly saturated pink. Relative luminance 0.145; OKLCH L 55.4% C 0.214 H 337.4°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#BA299E
RGBrgb(186, 41, 158)
HSLhsl(312, 64%, 45%)
HSVhsv(312, 78%, 73%)
CMYKcmyk(0%, 78%, 15.1%, 27.1%)
CIE-LABlab(44.94, 66.90, -30.23)
CIE-LCHlch(44.94, 73.41, 335.68°)
OKLaboklab(55.38% 0.1977 -0.0822)
OKLCHoklch(55.38% 0.214 337.4)
XYZxyz(27.2148, 14.4962, 33.7059)
Luminance0.1449 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA299E #29BA45
analogous
#8E29BA #BA299E #BA2956
triadic
#BA299E #9EBA29 #299EBA
tetradic
#BA299E #BA8E29 #29BA45 #2956BA
square
#BA299E #BA8E29 #29BA45 #2956BA
split-complementary
#BA299E #56BA29 #29BA8E
monochromatic
#561349 #881E73 #BA299E #D749BC #E27BCE

Accessibility & contrast

On white

5.39
#BA299E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#BA299E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA299E
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA299E#FFFFFF#000000##FFFFFF
##BA299E1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5CA1
Deuteranopia (green-blind)
#62729B
Tritanopia (blue-blind)
#C43362
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba299e;
/* rgb */ color: rgb(186, 41, 158);
/* oklch */ color: oklch(55.4% 0.214 337.4);
Tailwind
colors: {
  custom: {
    50: '#d373bb',
    500: '#ba299e',
    950: '#000000',
  },
}
SCSS
$custom: #ba299e;
$custom-light: #d373bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba299e",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 311.586,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55378,
    "c": 0.21409,
    "h": 337.4
  },
  "luminance": 0.14494
}

Semantic roles & 50–950 ramp

primary
#BA299E
secondary
#75CA85
accent
#E76141
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BA299E

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

Preview Lab → · Contrast checker → · Palette generator →

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