#BA506C#BA506C

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

Color values

HEX#BA506C
RGBrgb(186, 80, 108)
HSLhsl(344, 43%, 52%)
HSVhsv(344, 57%, 73%)
CMYKcmyk(0%, 57%, 41.9%, 27.1%)
CIE-LABlab(48.59, 45.45, 5.48)
CIE-LCHlch(48.59, 45.78, 6.87°)
OKLaboklab(57.46% 0.1383 0.0146)
OKLCHoklch(57.46% 0.139 6)
XYZxyz(25.8268, 17.2620, 16.1562)
Luminance0.1726 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA506C #50BA9E
analogous
#BA50A1 #BA506C #BA6950
triadic
#BA506C #6CBA50 #506CBA
tetradic
#BA506C #A1BA50 #50BA9E #6950BA
square
#BA506C #A1BA50 #50BA9E #6950BA
split-complementary
#BA506C #50BA69 #50A1BA
monochromatic
#672939 #933A51 #BA506C #CB7C91 #DDA8B6

Accessibility & contrast

On white

4.72
#BA506C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#BA506C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA506C
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA506C#FFFFFF#000000##FFFFFF
##BA506C1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64666D
Deuteranopia (green-blind)
#807B6A
Tritanopia (blue-blind)
#C9445A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba506c;
/* rgb */ color: rgb(186, 80, 108);
/* oklch */ color: oklch(57.5% 0.139 6.0);
Tailwind
colors: {
  custom: {
    50: '#d38596',
    500: '#ba506c',
    950: '#000000',
  },
}
SCSS
$custom: #ba506c;
$custom-light: #d38596;
$custom-dark: #000000;
JSON
{
  "hex": "#ba506c",
  "rgb": {
    "r": 186,
    "g": 80,
    "b": 108
  },
  "hsl": {
    "h": 344.151,
    "s": 43.443,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57462,
    "c": 0.13908,
    "h": 6
  },
  "luminance": 0.17259
}

Semantic roles & 50–950 ramp

primary
#BA506C
secondary
#9CCABE
accent
#D3B255
background
#FDF8F9
surface
#FAF0F1
border
#D3CBCB
text
#150B0D
muted
#837C7E

Preview Lab

Preview with #BA506C

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

Preview Lab → · Contrast checker → · Palette generator →

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