#BA508F#BA508F

#BA508F is a mid, vivid pink. Relative luminance 0.182; OKLCH L 58.6% C 0.154 H 346.2°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#BA508F
RGBrgb(186, 80, 143)
HSLhsl(324, 43%, 52%)
HSVhsv(324, 57%, 73%)
CMYKcmyk(0%, 57%, 23.1%, 27.1%)
CIE-LABlab(49.69, 49.84, -13.93)
CIE-LCHlch(49.69, 51.75, 344.38°)
OKLaboklab(58.65% 0.1498 -0.0368)
OKLCHoklch(58.65% 0.154 346.2)
XYZxyz(28.0771, 18.1621, 28.0082)
Luminance0.1816 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA508F #50BA7B
analogous
#B050BA #BA508F #BA505A
triadic
#BA508F #8FBA50 #508FBA
tetradic
#BA508F #BAB050 #50BA7B #505ABA
square
#BA508F #BAB050 #50BA7B #505ABA
split-complementary
#BA508F #5ABA50 #50BAB0
monochromatic
#67294E #933A6F #BA508F #CB7CAB #DDA8C7

Accessibility & contrast

On white

4.53
#BA508F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#BA508F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA508F
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA508F#FFFFFF#000000##000000
##BA508F1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A6B91
Deuteranopia (green-blind)
#787D8C
Tritanopia (blue-blind)
#C54E69
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba508f;
/* rgb */ color: rgb(186, 80, 143);
/* oklch */ color: oklch(58.6% 0.154 346.2);
Tailwind
colors: {
  custom: {
    50: '#d286af',
    500: '#ba508f',
    950: '#000000',
  },
}
SCSS
$custom: #ba508f;
$custom-light: #d286af;
$custom-dark: #000000;
JSON
{
  "hex": "#ba508f",
  "rgb": {
    "r": 186,
    "g": 80,
    "b": 143
  },
  "hsl": {
    "h": 324.34,
    "s": 43.443,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58648,
    "c": 0.1542,
    "h": 346.2
  },
  "luminance": 0.1816
}

Semantic roles & 50–950 ramp

primary
#BA508F
secondary
#9CCAAF
accent
#D38855
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #BA508F

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

Preview Lab → · Contrast checker → · Palette generator →

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