#BA296B#BA296B

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

Color values

HEX#BA296B
RGBrgb(186, 41, 107)
HSLhsl(333, 64%, 45%)
HSVhsv(333, 78%, 73%)
CMYKcmyk(0%, 78%, 42.5%, 27.1%)
CIE-LABlab(42.90, 60.83, -2.17)
CIE-LCHlch(42.90, 60.87, 357.96°)
OKLaboklab(53.23% 0.187 -0.005)
OKLCHoklch(53.23% 0.187 358.5)
XYZxyz(23.6983, 13.0896, 15.1857)
Luminance0.1309 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA296B #29BA78
analogous
#BA29B4 #BA296B #BA3029
triadic
#BA296B #6BBA29 #296BBA
tetradic
#BA296B #B4BA29 #29BA78 #3029BA
square
#BA296B #B4BA29 #29BA78 #3029BA
split-complementary
#BA296B #29BA30 #29B4BA
monochromatic
#561331 #881E4E #BA296B #D7498A #E27BAA

Accessibility & contrast

On white

5.81
#BA296B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA296B
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA296B#FFFFFF#000000##FFFFFF
##BA296B1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A546D
Deuteranopia (green-blind)
#716F68
Tritanopia (blue-blind)
#CA0C47
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba296b;
/* rgb */ color: rgb(186, 41, 107);
/* oklch */ color: oklch(53.2% 0.187 358.5);
Tailwind
colors: {
  custom: {
    50: '#d47295',
    500: '#ba296b',
    950: '#000000',
  },
}
SCSS
$custom: #ba296b;
$custom-light: #d47295;
$custom-dark: #000000;
JSON
{
  "hex": "#ba296b",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 107
  },
  "hsl": {
    "h": 332.69,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53233,
    "c": 0.18708,
    "h": 358.5
  },
  "luminance": 0.13087
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA296B

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

Preview Lab → · Contrast checker → · Palette generator →

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