#BA5291#BA5291

#BA5291 is a mid, vivid pink. Relative luminance 0.185; OKLCH L 59.0% C 0.152 H 345.4°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#BA5291
RGBrgb(186, 82, 145)
HSLhsl(324, 43%, 53%)
HSVhsv(324, 56%, 73%)
CMYKcmyk(0%, 55.9%, 22%, 27.1%)
CIE-LABlab(50.12, 49.18, -14.47)
CIE-LCHlch(50.12, 51.26, 343.60°)
OKLaboklab(58.99% 0.1474 -0.0383)
OKLCHoklch(58.99% 0.152 345.4)
XYZxyz(28.3786, 18.5205, 28.8628)
Luminance0.1852 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5291 #52BA7B
analogous
#AF52BA #BA5291 #BA525D
triadic
#BA5291 #91BA52 #5291BA
tetradic
#BA5291 #BAAF52 #52BA7B #525DBA
square
#BA5291 #BAAF52 #52BA7B #525DBA
split-complementary
#BA5291 #5DBA52 #52BAAF
monochromatic
#682A4F #943B71 #BA5291 #CB7EAD #DDAAC9

Accessibility & contrast

On white

4.46
#BA5291 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#BA5291 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5291
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5291#FFFFFF#000000##000000
##BA52911.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6C93
Deuteranopia (green-blind)
#787E8E
Tritanopia (blue-blind)
#C5516B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba5291;
/* rgb */ color: rgb(186, 82, 145);
/* oklch */ color: oklch(59.0% 0.152 345.4);
Tailwind
colors: {
  custom: {
    50: '#d187b1',
    500: '#ba5291',
    950: '#000000',
  },
}
SCSS
$custom: #ba5291;
$custom-light: #d187b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5291",
  "rgb": {
    "r": 186,
    "g": 82,
    "b": 145
  },
  "hsl": {
    "h": 323.654,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58991,
    "c": 0.1523,
    "h": 345.4
  },
  "luminance": 0.18518
}

Semantic roles & 50–950 ramp

primary
#BA5291
secondary
#9DCAAF
accent
#D38755
background
#FDF8FA
surface
#FAF0F5
border
#D3CBCF
text
#140C10
muted
#837D7F

Preview Lab

Preview with #BA5291

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

Preview Lab → · Contrast checker → · Palette generator →

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