#BA296E#BA296E

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

Color values

HEX#BA296E
RGBrgb(186, 41, 110)
HSLhsl(331, 64%, 45%)
HSVhsv(331, 78%, 73%)
CMYKcmyk(0%, 78%, 40.9%, 27.1%)
CIE-LABlab(42.99, 61.12, -3.89)
CIE-LCHlch(42.99, 61.25, 356.35°)
OKLaboklab(53.34% 0.188 -0.0095)
OKLCHoklch(53.34% 0.188 357.1)
XYZxyz(23.8589, 13.1539, 16.0314)
Luminance0.1315 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA296E #29BA75
analogous
#BA29B7 #BA296E #BA2C29
triadic
#BA296E #6EBA29 #296EBA
tetradic
#BA296E #B7BA29 #29BA75 #2C29BA
square
#BA296E #B7BA29 #29BA75 #2C29BA
split-complementary
#BA296E #29BA2C #29B7BA
monochromatic
#561333 #881E50 #BA296E #D7498D #E27BAC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA296E#FFFFFF#000000##FFFFFF
##BA296E1.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)
#495470
Deuteranopia (green-blind)
#716F6B
Tritanopia (blue-blind)
#C91048
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba296e;
/* rgb */ color: rgb(186, 41, 110);
/* oklch */ color: oklch(53.3% 0.188 357.1);
Tailwind
colors: {
  custom: {
    50: '#d47297',
    500: '#ba296e',
    950: '#000000',
  },
}
SCSS
$custom: #ba296e;
$custom-light: #d47297;
$custom-dark: #000000;
JSON
{
  "hex": "#ba296e",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 110
  },
  "hsl": {
    "h": 331.448,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53335,
    "c": 0.18819,
    "h": 357.1
  },
  "luminance": 0.13151
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA296E

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

Preview Lab → · Contrast checker → · Palette generator →

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