#BA4E6D#BA4E6D

#BA4E6D is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.2% C 0.142 H 4.8°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#BA4E6D
RGBrgb(186, 78, 109)
HSLhsl(343, 44%, 52%)
HSVhsv(343, 58%, 73%)
CMYKcmyk(0%, 58.1%, 41.4%, 27.1%)
CIE-LABlab(48.25, 46.52, 4.39)
CIE-LCHlch(48.25, 46.72, 5.39°)
OKLaboklab(57.22% 0.1417 0.0119)
OKLCHoklch(57.22% 0.142 4.8)
XYZxyz(25.7360, 16.9948, 16.3900)
Luminance0.1699 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4E6D #4EBA9B
analogous
#BA4EA3 #BA4E6D #BA654E
triadic
#BA4E6D #6DBA4E #4E6DBA
tetradic
#BA4E6D #A3BA4E #4EBA9B #654EBA
square
#BA4E6D #A3BA4E #4EBA9B #654EBA
split-complementary
#BA4E6D #4EBA65 #4EA3BA
monochromatic
#66283A #923952 #BA4E6D #CB7A91 #DCA6B6

Accessibility & contrast

On white

4.77
#BA4E6D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#BA4E6D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4E6D
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4E6D#FFFFFF#000000##FFFFFF
##BA4E6D1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63656E
Deuteranopia (green-blind)
#7F7A6B
Tritanopia (blue-blind)
#C9425A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba4e6d;
/* rgb */ color: rgb(186, 78, 109);
/* oklch */ color: oklch(57.2% 0.142 4.8);
Tailwind
colors: {
  custom: {
    50: '#d38496',
    500: '#ba4e6d',
    950: '#000000',
  },
}
SCSS
$custom: #ba4e6d;
$custom-light: #d38496;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4e6d",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 109
  },
  "hsl": {
    "h": 342.778,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5722,
    "c": 0.14218,
    "h": 4.8
  },
  "luminance": 0.16992
}

Semantic roles & 50–950 ramp

primary
#BA4E6D
secondary
#9ACABC
accent
#D4AF54
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0D
muted
#837C7E

Preview Lab

Preview with #BA4E6D

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

Preview Lab → · Contrast checker → · Palette generator →

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