#BA4E6E#BA4E6E

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

Color values

HEX#BA4E6E
RGBrgb(186, 78, 110)
HSLhsl(342, 44%, 52%)
HSVhsv(342, 58%, 73%)
CMYKcmyk(0%, 58.1%, 40.9%, 27.1%)
CIE-LABlab(48.28, 46.63, 3.82)
CIE-LCHlch(48.28, 46.78, 4.69°)
OKLaboklab(57.25% 0.1421 0.0104)
OKLCHoklch(57.25% 0.142 4.2)
XYZxyz(25.7902, 17.0165, 16.6752)
Luminance0.1701 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4E6E #4EBA9A
analogous
#BA4EA4 #BA4E6E #BA644E
triadic
#BA4E6E #6EBA4E #4E6EBA
tetradic
#BA4E6E #A4BA4E #4EBA9A #644EBA
square
#BA4E6E #A4BA4E #4EBA9A #644EBA
split-complementary
#BA4E6E #4EBA64 #4EA4BA
monochromatic
#66283A #923953 #BA4E6E #CB7A92 #DCA6B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA4E6E#FFFFFF#000000##FFFFFF
##BA4E6E1.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)
#62666F
Deuteranopia (green-blind)
#7E7A6C
Tritanopia (blue-blind)
#C9435A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba4e6e;
/* rgb */ color: rgb(186, 78, 110);
/* oklch */ color: oklch(57.2% 0.142 4.2);
Tailwind
colors: {
  custom: {
    50: '#d38497',
    500: '#ba4e6e',
    950: '#000000',
  },
}
SCSS
$custom: #ba4e6e;
$custom-light: #d38497;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4e6e",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 110
  },
  "hsl": {
    "h": 342.222,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57249,
    "c": 0.14243,
    "h": 4.2
  },
  "luminance": 0.17014
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA4E6E

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

Preview Lab → · Contrast checker → · Palette generator →

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