#BA5280#BA5280

#BA5280 is a mid, vivid pink. Relative luminance 0.180; OKLCH L 58.4% C 0.143 H 354.7°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#BA5280
RGBrgb(186, 82, 128)
HSLhsl(333, 43%, 53%)
HSVhsv(333, 56%, 73%)
CMYKcmyk(0%, 55.9%, 31.2%, 27.1%)
CIE-LABlab(49.54, 46.86, -5.19)
CIE-LCHlch(49.54, 47.14, 353.68°)
OKLaboklab(58.37% 0.1424 -0.0131)
OKLCHoklch(58.37% 0.143 354.7)
XYZxyz(27.1645, 18.0348, 22.4683)
Luminance0.1803 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5280 #52BA8C
analogous
#BA52B4 #BA5280 #BA5852
triadic
#BA5280 #80BA52 #5280BA
tetradic
#BA5280 #B4BA52 #52BA8C #5852BA
square
#BA5280 #B4BA52 #52BA8C #5852BA
split-complementary
#BA5280 #52BA58 #52B4BA
monochromatic
#682A45 #943B62 #BA5280 #CB7EA0 #DDAAC0

Accessibility & contrast

On white

4.56
#BA5280 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#BA5280 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5280
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5280#FFFFFF#000000##000000
##BA52801.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#616A81
Deuteranopia (green-blind)
#7D7D7E
Tritanopia (blue-blind)
#C74C64
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba5280;
/* rgb */ color: rgb(186, 82, 128);
/* oklch */ color: oklch(58.4% 0.143 354.7);
Tailwind
colors: {
  custom: {
    50: '#d287a4',
    500: '#ba5280',
    950: '#000000',
  },
}
SCSS
$custom: #ba5280;
$custom-light: #d287a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5280",
  "rgb": {
    "r": 186,
    "g": 82,
    "b": 128
  },
  "hsl": {
    "h": 333.462,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58365,
    "c": 0.14295,
    "h": 354.7
  },
  "luminance": 0.18032
}

Semantic roles & 50–950 ramp

primary
#BA5280
secondary
#9DCAB7
accent
#D39B55
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C0F
muted
#837D7F

Preview Lab

Preview with #BA5280

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

Preview Lab → · Contrast checker → · Palette generator →

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