#BA507A#BA507A

#BA507A is a mid, vivid pink. Relative luminance 0.176; OKLCH L 57.9% C 0.143 H 357.7°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#BA507A
RGBrgb(186, 80, 122)
HSLhsl(336, 43%, 52%)
HSVhsv(336, 57%, 73%)
CMYKcmyk(0%, 57%, 34.4%, 27.1%)
CIE-LABlab(48.99, 47.07, -2.39)
CIE-LCHlch(48.99, 47.13, 357.09°)
OKLaboklab(57.89% 0.1433 -0.0057)
OKLCHoklch(57.89% 0.143 357.7)
XYZxyz(26.6326, 17.5843, 20.4001)
Luminance0.1758 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA507A #50BA90
analogous
#BA50AF #BA507A #BA5B50
triadic
#BA507A #7ABA50 #507ABA
tetradic
#BA507A #AFBA50 #50BA90 #5B50BA
square
#BA507A #AFBA50 #50BA90 #5B50BA
split-complementary
#BA507A #50BA5B #50AFBA
monochromatic
#672941 #933A5D #BA507A #CB7C9B #DDA8BD

Accessibility & contrast

On white

4.65
#BA507A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#BA507A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA507A
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA507A#FFFFFF#000000##FFFFFF
##BA507A1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61687B
Deuteranopia (green-blind)
#7D7C78
Tritanopia (blue-blind)
#C84860
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba507a;
/* rgb */ color: rgb(186, 80, 122);
/* oklch */ color: oklch(57.9% 0.143 357.7);
Tailwind
colors: {
  custom: {
    50: '#d285a0',
    500: '#ba507a',
    950: '#000000',
  },
}
SCSS
$custom: #ba507a;
$custom-light: #d285a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba507a",
  "rgb": {
    "r": 186,
    "g": 80,
    "b": 122
  },
  "hsl": {
    "h": 336.226,
    "s": 43.443,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57892,
    "c": 0.14343,
    "h": 357.7
  },
  "luminance": 0.17582
}

Semantic roles & 50–950 ramp

primary
#BA507A
secondary
#9CCAB8
accent
#D3A155
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BA507A

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

Preview Lab → · Contrast checker → · Palette generator →

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