#BA508A#BA508A

#BA508A is a mid, vivid pink. Relative luminance 0.180; OKLCH L 58.5% C 0.151 H 348.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#BA508A
RGBrgb(186, 80, 138)
HSLhsl(327, 43%, 52%)
HSVhsv(327, 57%, 73%)
CMYKcmyk(0%, 57%, 25.8%, 27.1%)
CIE-LABlab(49.51, 49.14, -11.22)
CIE-LCHlch(49.51, 50.41, 347.14°)
OKLaboklab(58.46% 0.1484 -0.0293)
OKLCHoklch(58.46% 0.151 348.8)
XYZxyz(27.7068, 18.0140, 26.0577)
Luminance0.1801 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA508A #50BA80
analogous
#B550BA #BA508A #BA5055
triadic
#BA508A #8ABA50 #508ABA
tetradic
#BA508A #BAB550 #50BA80 #5055BA
square
#BA508A #BAB550 #50BA80 #5055BA
split-complementary
#BA508A #55BA50 #50BAB5
monochromatic
#67294B #933A6B #BA508A #CB7CA7 #DDA8C5

Accessibility & contrast

On white

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

On black

4.60
#BA508A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA508A
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA508A#FFFFFF#000000##000000
##BA508A1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C6A8C
Deuteranopia (green-blind)
#797D87
Tritanopia (blue-blind)
#C64D67
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba508a;
/* rgb */ color: rgb(186, 80, 138);
/* oklch */ color: oklch(58.5% 0.151 348.8);
Tailwind
colors: {
  custom: {
    50: '#d286ac',
    500: '#ba508a',
    950: '#000000',
  },
}
SCSS
$custom: #ba508a;
$custom-light: #d286ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ba508a",
  "rgb": {
    "r": 186,
    "g": 80,
    "b": 138
  },
  "hsl": {
    "h": 327.17,
    "s": 43.443,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58456,
    "c": 0.15122,
    "h": 348.8
  },
  "luminance": 0.18011
}

Semantic roles & 50–950 ramp

primary
#BA508A
secondary
#9CCAB1
accent
#D38E55
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #BA508A

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

Preview Lab → · Contrast checker → · Palette generator →

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