#BA508B#BA508B

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

Color values

HEX#BA508B
RGBrgb(186, 80, 139)
HSLhsl(327, 43%, 52%)
HSVhsv(327, 57%, 73%)
CMYKcmyk(0%, 57%, 25.3%, 27.1%)
CIE-LABlab(49.55, 49.28, -11.76)
CIE-LCHlch(49.55, 50.67, 346.58°)
OKLaboklab(58.49% 0.1486 -0.0308)
OKLCHoklch(58.49% 0.152 348.3)
XYZxyz(27.7795, 18.0431, 26.4407)
Luminance0.1804 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA508B #50BA7F
analogous
#B450BA #BA508B #BA5056
triadic
#BA508B #8BBA50 #508BBA
tetradic
#BA508B #BAB450 #50BA7F #5056BA
square
#BA508B #BAB450 #50BA7F #5056BA
split-complementary
#BA508B #56BA50 #50BAB4
monochromatic
#67294B #933A6B #BA508B #CB7CA8 #DDA8C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA508B#FFFFFF#000000##000000
##BA508B1.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)
#5C6A8D
Deuteranopia (green-blind)
#797D88
Tritanopia (blue-blind)
#C64D67
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba508b;
/* rgb */ color: rgb(186, 80, 139);
/* oklch */ color: oklch(58.5% 0.152 348.3);
Tailwind
colors: {
  custom: {
    50: '#d286ad',
    500: '#ba508b',
    950: '#000000',
  },
}
SCSS
$custom: #ba508b;
$custom-light: #d286ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ba508b",
  "rgb": {
    "r": 186,
    "g": 80,
    "b": 139
  },
  "hsl": {
    "h": 326.604,
    "s": 43.443,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58494,
    "c": 0.1518,
    "h": 348.3
  },
  "luminance": 0.18041
}

Semantic roles & 50–950 ramp

primary
#BA508B
secondary
#9CCAB0
accent
#D38D55
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #BA508B

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

Preview Lab → · Contrast checker → · Palette generator →

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