#BA296C#BA296C

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

Color values

HEX#BA296C
RGBrgb(186, 41, 108)
HSLhsl(332, 64%, 45%)
HSVhsv(332, 78%, 73%)
CMYKcmyk(0%, 78%, 41.9%, 27.1%)
CIE-LABlab(42.93, 60.93, -2.75)
CIE-LCHlch(42.93, 60.99, 357.42°)
OKLaboklab(53.27% 0.1873 -0.0064)
OKLCHoklch(53.27% 0.187 358)
XYZxyz(23.7512, 13.1108, 15.4644)
Luminance0.1311 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA296C #29BA77
analogous
#BA29B5 #BA296C #BA2F29
triadic
#BA296C #6CBA29 #296CBA
tetradic
#BA296C #B5BA29 #29BA77 #2F29BA
square
#BA296C #B5BA29 #29BA77 #2F29BA
split-complementary
#BA296C #29BA2F #29B5BA
monochromatic
#561332 #881E4F #BA296C #D7498B #E27BAB

Accessibility & contrast

On white

5.80
#BA296C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#BA296C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA296C
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA296C#FFFFFF#000000##FFFFFF
##BA296C1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49546E
Deuteranopia (green-blind)
#716F69
Tritanopia (blue-blind)
#CA0E47
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba296c;
/* rgb */ color: rgb(186, 41, 108);
/* oklch */ color: oklch(53.3% 0.187 358.0);
Tailwind
colors: {
  custom: {
    50: '#d47296',
    500: '#ba296c',
    950: '#000000',
  },
}
SCSS
$custom: #ba296c;
$custom-light: #d47296;
$custom-dark: #000000;
JSON
{
  "hex": "#ba296c",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 108
  },
  "hsl": {
    "h": 332.276,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53267,
    "c": 0.18743,
    "h": 358
  },
  "luminance": 0.13108
}

Semantic roles & 50–950 ramp

primary
#BA296C
secondary
#75CAA3
accent
#E79A41
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BA296C

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

Preview Lab → · Contrast checker → · Palette generator →

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