#BA506F#BA506F

#BA506F is a mid, vivid pink. Relative luminance 0.173; OKLCH L 57.5% C 0.140 H 4.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#BA506F
RGBrgb(186, 80, 111)
HSLhsl(342, 43%, 52%)
HSVhsv(342, 57%, 73%)
CMYKcmyk(0%, 57%, 40.3%, 27.1%)
CIE-LABlab(48.67, 45.78, 3.78)
CIE-LCHlch(48.67, 45.94, 4.72°)
OKLaboklab(57.55% 0.1394 0.0103)
OKLCHoklch(57.55% 0.14 4.2)
XYZxyz(25.9892, 17.3269, 17.0116)
Luminance0.1732 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA506F #50BA9B
analogous
#BA50A4 #BA506F #BA6650
triadic
#BA506F #6FBA50 #506FBA
tetradic
#BA506F #A4BA50 #50BA9B #6650BA
square
#BA506F #A4BA50 #50BA9B #6650BA
split-complementary
#BA506F #50BA66 #50A4BA
monochromatic
#67293B #933A54 #BA506F #CB7C93 #DDA8B7

Accessibility & contrast

On white

4.70
#BA506F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#BA506F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA506F
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA506F#FFFFFF#000000##FFFFFF
##BA506F1.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646770
Deuteranopia (green-blind)
#7F7B6D
Tritanopia (blue-blind)
#C9455C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba506f;
/* rgb */ color: rgb(186, 80, 111);
/* oklch */ color: oklch(57.5% 0.140 4.2);
Tailwind
colors: {
  custom: {
    50: '#d38598',
    500: '#ba506f',
    950: '#000000',
  },
}
SCSS
$custom: #ba506f;
$custom-light: #d38598;
$custom-dark: #000000;
JSON
{
  "hex": "#ba506f",
  "rgb": {
    "r": 186,
    "g": 80,
    "b": 111
  },
  "hsl": {
    "h": 342.453,
    "s": 43.443,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57549,
    "c": 0.13981,
    "h": 4.2
  },
  "luminance": 0.17324
}

Semantic roles & 50–950 ramp

primary
#BA506F
secondary
#9CCABD
accent
#D3AE55
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#150B0D
muted
#837C7E

Preview Lab

Preview with #BA506F

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

Preview Lab → · Contrast checker → · Palette generator →

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