#BA298D#BA298D

#BA298D is a mid, highly saturated pink. Relative luminance 0.139; OKLCH L 54.6% C 0.203 H 343.8°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#BA298D
RGBrgb(186, 41, 141)
HSLhsl(319, 64%, 45%)
HSVhsv(319, 78%, 73%)
CMYKcmyk(0%, 78%, 24.2%, 27.1%)
CIE-LABlab(44.16, 64.63, -21.18)
CIE-LCHlch(44.16, 68.02, 341.86°)
OKLaboklab(54.57% 0.1954 -0.0566)
OKLCHoklch(54.57% 0.203 343.8)
XYZxyz(25.8514, 13.9509, 26.5255)
Luminance0.1395 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA298D #29BA56
analogous
#9F29BA #BA298D #BA2944
triadic
#BA298D #8DBA29 #298DBA
tetradic
#BA298D #BA9F29 #29BA56 #2944BA
square
#BA298D #BA9F29 #29BA56 #2944BA
split-complementary
#BA298D #44BA29 #29BA9F
monochromatic
#561341 #881E67 #BA298D #D749AB #E27BC2

Accessibility & contrast

On white

5.54
#BA298D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#BA298D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA298D
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA298D#FFFFFF#000000##FFFFFF
##BA298D1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5990
Deuteranopia (green-blind)
#68718A
Tritanopia (blue-blind)
#C62858
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba298d;
/* rgb */ color: rgb(186, 41, 141);
/* oklch */ color: oklch(54.6% 0.203 343.8);
Tailwind
colors: {
  custom: {
    50: '#d373ae',
    500: '#ba298d',
    950: '#000000',
  },
}
SCSS
$custom: #ba298d;
$custom-light: #d373ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ba298d",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 318.621,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54567,
    "c": 0.20347,
    "h": 343.8
  },
  "luminance": 0.13948
}

Semantic roles & 50–950 ramp

primary
#BA298D
secondary
#75CA8F
accent
#E77441
background
#FDF7FA
surface
#FBEDF4
border
#D4C8CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #BA298D

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

Preview Lab → · Contrast checker → · Palette generator →

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