#BA507C#BA507C

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

Color values

HEX#BA507C
RGBrgb(186, 80, 124)
HSLhsl(335, 43%, 52%)
HSVhsv(335, 57%, 73%)
CMYKcmyk(0%, 57%, 33.3%, 27.1%)
CIE-LABlab(49.05, 47.31, -3.51)
CIE-LCHlch(49.05, 47.44, 355.76°)
OKLaboklab(57.96% 0.144 -0.0086)
OKLCHoklch(57.96% 0.144 356.6)
XYZxyz(26.7578, 17.6344, 21.0595)
Luminance0.1763 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA507C #50BA8E
analogous
#BA50B1 #BA507C #BA5950
triadic
#BA507C #7CBA50 #507CBA
tetradic
#BA507C #B1BA50 #50BA8E #5950BA
square
#BA507C #B1BA50 #50BA8E #5950BA
split-complementary
#BA507C #50BA59 #50B1BA
monochromatic
#672943 #933A5F #BA507C #CB7C9D #DDA8BE

Accessibility & contrast

On white

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

On black

4.53
#BA507C on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA507C#FFFFFF#000000##FFFFFF
##BA507C1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60687D
Deuteranopia (green-blind)
#7D7C7A
Tritanopia (blue-blind)
#C74961
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba507c;
/* rgb */ color: rgb(186, 80, 124);
/* oklch */ color: oklch(58.0% 0.144 356.6);
Tailwind
colors: {
  custom: {
    50: '#d286a1',
    500: '#ba507c',
    950: '#000000',
  },
}
SCSS
$custom: #ba507c;
$custom-light: #d286a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba507c",
  "rgb": {
    "r": 186,
    "g": 80,
    "b": 124
  },
  "hsl": {
    "h": 335.094,
    "s": 43.443,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57959,
    "c": 0.14426,
    "h": 356.6
  },
  "luminance": 0.17632
}

Semantic roles & 50–950 ramp

primary
#BA507C
secondary
#9CCAB7
accent
#D39F55
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#140B0F
muted
#837C7E

Preview Lab

Preview with #BA507C

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

Preview Lab → · Contrast checker → · Palette generator →

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