#BA296D#BA296D

#BA296D is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.3% C 0.188 H 357.6°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#BA296D
RGBrgb(186, 41, 109)
HSLhsl(332, 64%, 45%)
HSVhsv(332, 78%, 73%)
CMYKcmyk(0%, 78%, 41.4%, 27.1%)
CIE-LABlab(42.96, 61.02, -3.32)
CIE-LCHlch(42.96, 61.11, 356.89°)
OKLaboklab(53.3% 0.1876 -0.008)
OKLCHoklch(53.3% 0.188 357.6)
XYZxyz(23.8047, 13.1322, 15.7463)
Luminance0.1313 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA296D #29BA76
analogous
#BA29B6 #BA296D #BA2D29
triadic
#BA296D #6DBA29 #296DBA
tetradic
#BA296D #B6BA29 #29BA76 #2D29BA
square
#BA296D #B6BA29 #29BA76 #2D29BA
split-complementary
#BA296D #29BA2D #29B6BA
monochromatic
#561332 #881E50 #BA296D #D7498C #E27BAC

Accessibility & contrast

On white

5.79
#BA296D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#BA296D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA296D
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA296D#FFFFFF#000000##FFFFFF
##BA296D1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49546F
Deuteranopia (green-blind)
#716F6A
Tritanopia (blue-blind)
#CA0F48
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba296d;
/* rgb */ color: rgb(186, 41, 109);
/* oklch */ color: oklch(53.3% 0.188 357.6);
Tailwind
colors: {
  custom: {
    50: '#d47296',
    500: '#ba296d',
    950: '#000000',
  },
}
SCSS
$custom: #ba296d;
$custom-light: #d47296;
$custom-dark: #000000;
JSON
{
  "hex": "#ba296d",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 109
  },
  "hsl": {
    "h": 331.862,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53301,
    "c": 0.18781,
    "h": 357.6
  },
  "luminance": 0.13129
}

Semantic roles & 50–950 ramp

primary
#BA296D
secondary
#75CAA2
accent
#E79941
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BA296D

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

Preview Lab → · Contrast checker → · Palette generator →

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