#BA508C#BA508C

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

Color values

HEX#BA508C
RGBrgb(186, 80, 140)
HSLhsl(326, 43%, 52%)
HSVhsv(326, 57%, 73%)
CMYKcmyk(0%, 57%, 24.7%, 27.1%)
CIE-LABlab(49.58, 49.42, -12.31)
CIE-LCHlch(49.58, 50.93, 346.02°)
OKLaboklab(58.53% 0.1489 -0.0323)
OKLCHoklch(58.53% 0.152 347.8)
XYZxyz(27.8529, 18.0724, 26.8273)
Luminance0.1807 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA508C #50BA7E
analogous
#B350BA #BA508C #BA5057
triadic
#BA508C #8CBA50 #508CBA
tetradic
#BA508C #BAB350 #50BA7E #5057BA
square
#BA508C #BAB350 #50BA7E #5057BA
split-complementary
#BA508C #57BA50 #50BAB3
monochromatic
#67294C #933A6C #BA508C #CB7CA9 #DDA8C6

Accessibility & contrast

On white

4.55
#BA508C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA508C#FFFFFF#000000##000000
##BA508C1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6A8E
Deuteranopia (green-blind)
#797D89
Tritanopia (blue-blind)
#C64D68
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba508c;
/* rgb */ color: rgb(186, 80, 140);
/* oklch */ color: oklch(58.5% 0.152 347.8);
Tailwind
colors: {
  custom: {
    50: '#d286ad',
    500: '#ba508c',
    950: '#000000',
  },
}
SCSS
$custom: #ba508c;
$custom-light: #d286ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ba508c",
  "rgb": {
    "r": 186,
    "g": 80,
    "b": 140
  },
  "hsl": {
    "h": 326.038,
    "s": 43.443,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58532,
    "c": 0.15239,
    "h": 347.8
  },
  "luminance": 0.1807
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA508C

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

Preview Lab → · Contrast checker → · Palette generator →

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