#BA507B#BA507B

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

Color values

HEX#BA507B
RGBrgb(186, 80, 123)
HSLhsl(336, 43%, 52%)
HSVhsv(336, 57%, 73%)
CMYKcmyk(0%, 57%, 33.9%, 27.1%)
CIE-LABlab(49.02, 47.19, -2.95)
CIE-LCHlch(49.02, 47.28, 356.42°)
OKLaboklab(57.93% 0.1437 -0.0071)
OKLCHoklch(57.93% 0.144 357.2)
XYZxyz(26.6949, 17.6092, 20.7281)
Luminance0.1761 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA507B #50BA8F
analogous
#BA50B0 #BA507B #BA5A50
triadic
#BA507B #7BBA50 #507BBA
tetradic
#BA507B #B0BA50 #50BA8F #5A50BA
square
#BA507B #B0BA50 #50BA8F #5A50BA
split-complementary
#BA507B #50BA5A #50B0BA
monochromatic
#672942 #933A5E #BA507B #CB7C9C #DDA8BD

Accessibility & contrast

On white

4.64
#BA507B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA507B
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA507B#FFFFFF#000000##FFFFFF
##BA507B1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba507b;
/* rgb */ color: rgb(186, 80, 123);
/* oklch */ color: oklch(57.9% 0.144 357.2);
Tailwind
colors: {
  custom: {
    50: '#d285a1',
    500: '#ba507b',
    950: '#000000',
  },
}
SCSS
$custom: #ba507b;
$custom-light: #d285a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba507b",
  "rgb": {
    "r": 186,
    "g": 80,
    "b": 123
  },
  "hsl": {
    "h": 335.66,
    "s": 43.443,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57925,
    "c": 0.14384,
    "h": 357.2
  },
  "luminance": 0.17606
}

Semantic roles & 50–950 ramp

primary
#BA507B
secondary
#9CCAB7
accent
#D3A055
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BA507B

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

Preview Lab → · Contrast checker → · Palette generator →

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