#BA516F#BA516F

#BA516F is a mid, vivid pink. Relative luminance 0.175; OKLCH L 57.7% C 0.138 H 4.6°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#BA516F
RGBrgb(186, 81, 111)
HSLhsl(343, 43%, 52%)
HSVhsv(343, 56%, 73%)
CMYKcmyk(0%, 56.5%, 40.3%, 27.1%)
CIE-LABlab(48.85, 45.30, 4.04)
CIE-LCHlch(48.85, 45.48, 5.10°)
OKLaboklab(57.69% 0.1379 0.011)
OKLCHoklch(57.69% 0.138 4.6)
XYZxyz(26.0630, 17.4744, 17.0362)
Luminance0.1747 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA516F #51BA9C
analogous
#BA51A4 #BA516F #BA6751
triadic
#BA516F #6FBA51 #516FBA
tetradic
#BA516F #A4BA51 #51BA9C #6751BA
square
#BA516F #A4BA51 #51BA9C #6751BA
split-complementary
#BA516F #51BA67 #51A4BA
monochromatic
#68293B #933A54 #BA516F #CB7D93 #DDA9B8

Accessibility & contrast

On white

4.67
#BA516F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#BA516F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA516F
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA516F#FFFFFF#000000##FFFFFF
##BA516F1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#656770
Deuteranopia (green-blind)
#807C6D
Tritanopia (blue-blind)
#C9465C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba516f;
/* rgb */ color: rgb(186, 81, 111);
/* oklch */ color: oklch(57.7% 0.138 4.6);
Tailwind
colors: {
  custom: {
    50: '#d28698',
    500: '#ba516f',
    950: '#000000',
  },
}
SCSS
$custom: #ba516f;
$custom-light: #d28698;
$custom-dark: #000000;
JSON
{
  "hex": "#ba516f",
  "rgb": {
    "r": 186,
    "g": 81,
    "b": 111
  },
  "hsl": {
    "h": 342.857,
    "s": 43.21,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57687,
    "c": 0.13836,
    "h": 4.6
  },
  "luminance": 0.17472
}

Semantic roles & 50–950 ramp

primary
#BA516F
secondary
#9DCABD
accent
#D3AF55
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#150B0D
muted
#837C7E

Preview Lab

Preview with #BA516F

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

Preview Lab → · Contrast checker → · Palette generator →

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