#BA296F#BA296F

#BA296F is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.4% C 0.189 H 356.7°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#BA296F
RGBrgb(186, 41, 111)
HSLhsl(331, 64%, 45%)
HSVhsv(331, 78%, 73%)
CMYKcmyk(0%, 78%, 40.3%, 27.1%)
CIE-LABlab(43.03, 61.22, -4.47)
CIE-LCHlch(43.03, 61.39, 355.83°)
OKLaboklab(53.37% 0.1883 -0.011)
OKLCHoklch(53.37% 0.189 356.7)
XYZxyz(23.9136, 13.1758, 16.3197)
Luminance0.1317 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA296F #29BA74
analogous
#BA29B8 #BA296F #BA2B29
triadic
#BA296F #6FBA29 #296FBA
tetradic
#BA296F #B8BA29 #29BA74 #2B29BA
square
#BA296F #B8BA29 #29BA74 #2B29BA
split-complementary
#BA296F #29BA2B #29B8BA
monochromatic
#561333 #881E51 #BA296F #D7498E #E27BAD

Accessibility & contrast

On white

5.78
#BA296F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA296F
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA296F#FFFFFF#000000##FFFFFF
##BA296F1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485471
Deuteranopia (green-blind)
#706F6C
Tritanopia (blue-blind)
#C91149
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba296f;
/* rgb */ color: rgb(186, 41, 111);
/* oklch */ color: oklch(53.4% 0.189 356.7);
Tailwind
colors: {
  custom: {
    50: '#d47298',
    500: '#ba296f',
    950: '#000000',
  },
}
SCSS
$custom: #ba296f;
$custom-light: #d47298;
$custom-dark: #000000;
JSON
{
  "hex": "#ba296f",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 111
  },
  "hsl": {
    "h": 331.034,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5337,
    "c": 0.18857,
    "h": 356.7
  },
  "luminance": 0.13173
}

Semantic roles & 50–950 ramp

primary
#BA296F
secondary
#75CAA1
accent
#E79741
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BA296F

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

Preview Lab → · Contrast checker → · Palette generator →

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