#BA295A#BA295A

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

Color values

HEX#BA295A
RGBrgb(186, 41, 90)
HSLhsl(340, 64%, 45%)
HSVhsv(340, 78%, 73%)
CMYKcmyk(0%, 78%, 51.6%, 27.1%)
CIE-LABlab(42.41, 59.32, 7.76)
CIE-LCHlch(42.41, 59.82, 7.45°)
OKLaboklab(52.72% 0.1811 0.0202)
OKLCHoklch(52.72% 0.182 6.4)
XYZxyz(22.8902, 12.7664, 10.9297)
Luminance0.1276 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA295A #29BA89
analogous
#BA29A3 #BA295A #BA4029
triadic
#BA295A #5ABA29 #295ABA
tetradic
#BA295A #A3BA29 #29BA89 #4029BA
square
#BA295A #A3BA29 #29BA89 #4029BA
split-complementary
#BA295A #29BA40 #29A3BA
monochromatic
#561329 #881E42 #BA295A #D74979 #E27B9E

Accessibility & contrast

On white

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

On black

3.55
#BA295A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA295A#FFFFFF#000000##FFFFFF
##BA295A1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E525B
Deuteranopia (green-blind)
#746E57
Tritanopia (blue-blind)
#CB003E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba295a;
/* rgb */ color: rgb(186, 41, 90);
/* oklch */ color: oklch(52.7% 0.182 6.4);
Tailwind
colors: {
  custom: {
    50: '#d57188',
    500: '#ba295a',
    950: '#000000',
  },
}
SCSS
$custom: #ba295a;
$custom-light: #d57188;
$custom-dark: #000000;
JSON
{
  "hex": "#ba295a",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 90
  },
  "hsl": {
    "h": 339.724,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52715,
    "c": 0.18224,
    "h": 6.4
  },
  "luminance": 0.12763
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA295A

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

Preview Lab → · Contrast checker → · Palette generator →

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