#BA298F#BA298F

#BA298F is a mid, highly saturated pink. Relative luminance 0.140; OKLCH L 54.7% C 0.205 H 343.1°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#BA298F
RGBrgb(186, 41, 143)
HSLhsl(318, 64%, 45%)
HSVhsv(318, 78%, 73%)
CMYKcmyk(0%, 78%, 23.1%, 27.1%)
CIE-LABlab(44.25, 64.89, -22.26)
CIE-LCHlch(44.25, 68.60, 341.06°)
OKLaboklab(54.66% 0.1958 -0.0596)
OKLCHoklch(54.66% 0.205 343.1)
XYZxyz(26.0016, 14.0109, 27.3163)
Luminance0.1401 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA298F #29BA54
analogous
#9D29BA #BA298F #BA2947
triadic
#BA298F #8FBA29 #298FBA
tetradic
#BA298F #BA9D29 #29BA54 #2947BA
square
#BA298F #BA9D29 #29BA54 #2947BA
split-complementary
#BA298F #47BA29 #29BA9D
monochromatic
#561342 #881E68 #BA298F #D749AD #E27BC4

Accessibility & contrast

On white

5.52
#BA298F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#BA298F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA298F
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA298F#FFFFFF#000000##FFFFFF
##BA298F1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5992
Deuteranopia (green-blind)
#67718C
Tritanopia (blue-blind)
#C62A5A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba298f;
/* rgb */ color: rgb(186, 41, 143);
/* oklch */ color: oklch(54.7% 0.205 343.1);
Tailwind
colors: {
  custom: {
    50: '#d373b0',
    500: '#ba298f',
    950: '#000000',
  },
}
SCSS
$custom: #ba298f;
$custom-light: #d373b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba298f",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 143
  },
  "hsl": {
    "h": 317.793,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54658,
    "c": 0.20466,
    "h": 343.1
  },
  "luminance": 0.14008
}

Semantic roles & 50–950 ramp

primary
#BA298F
secondary
#75CA8E
accent
#E77241
background
#FDF7FA
surface
#FBEDF4
border
#D4C8CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #BA298F

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

Preview Lab → · Contrast checker → · Palette generator →

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