#BA295B#BA295B

#BA295B is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.7% C 0.182 H 5.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#BA295B
RGBrgb(186, 41, 91)
HSLhsl(339, 64%, 45%)
HSVhsv(339, 78%, 73%)
CMYKcmyk(0%, 78%, 51.1%, 27.1%)
CIE-LABlab(42.44, 59.40, 7.17)
CIE-LCHlch(42.44, 59.83, 6.88°)
OKLaboklab(52.74% 0.1815 0.0187)
OKLCHoklch(52.74% 0.182 5.9)
XYZxyz(22.9330, 12.7835, 11.1554)
Luminance0.1278 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA295B #29BA88
analogous
#BA29A4 #BA295B #BA3F29
triadic
#BA295B #5BBA29 #295BBA
tetradic
#BA295B #A4BA29 #29BA88 #3F29BA
square
#BA295B #A4BA29 #29BA88 #3F29BA
split-complementary
#BA295B #29BA3F #29A4BA
monochromatic
#56132A #881E42 #BA295B #D7497A #E27B9F

Accessibility & contrast

On white

5.91
#BA295B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#BA295B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA295B
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA295B#FFFFFF#000000##FFFFFF
##BA295B1.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E525C
Deuteranopia (green-blind)
#746E58
Tritanopia (blue-blind)
#CB003F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba295b;
/* rgb */ color: rgb(186, 41, 91);
/* oklch */ color: oklch(52.7% 0.182 5.9);
Tailwind
colors: {
  custom: {
    50: '#d57189',
    500: '#ba295b',
    950: '#000000',
  },
}
SCSS
$custom: #ba295b;
$custom-light: #d57189;
$custom-dark: #000000;
JSON
{
  "hex": "#ba295b",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 91
  },
  "hsl": {
    "h": 339.31,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52742,
    "c": 0.18245,
    "h": 5.9
  },
  "luminance": 0.1278
}

Semantic roles & 50–950 ramp

primary
#BA295B
secondary
#75CAAD
accent
#E7AE41
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA295B

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

Preview Lab → · Contrast checker → · Palette generator →

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