#BA4E7E#BA4E7E

#BA4E7E is a mid, vivid pink. Relative luminance 0.174; OKLCH L 57.8% C 0.148 H 355.0°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#BA4E7E
RGBrgb(186, 78, 126)
HSLhsl(333, 44%, 52%)
HSVhsv(333, 58%, 73%)
CMYKcmyk(0%, 58.1%, 32.3%, 27.1%)
CIE-LABlab(48.76, 48.51, -5.15)
CIE-LCHlch(48.76, 48.78, 353.94°)
OKLaboklab(57.76% 0.1476 -0.013)
OKLCHoklch(57.76% 0.148 355)
XYZxyz(26.7413, 17.3969, 21.6843)
Luminance0.1739 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4E7E #4EBA8A
analogous
#BA4EB4 #BA4E7E #BA544E
triadic
#BA4E7E #7EBA4E #4E7EBA
tetradic
#BA4E7E #B4BA4E #4EBA8A #544EBA
square
#BA4E7E #B4BA4E #4EBA8A #544EBA
split-complementary
#BA4E7E #4EBA54 #4EB4BA
monochromatic
#662843 #923960 #BA4E7E #CB7A9E #DCA6BE

Accessibility & contrast

On white

4.69
#BA4E7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#BA4E7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4E7E
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4E7E#FFFFFF#000000##FFFFFF
##BA4E7E1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E677F
Deuteranopia (green-blind)
#7B7B7B
Tritanopia (blue-blind)
#C74761
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba4e7e;
/* rgb */ color: rgb(186, 78, 126);
/* oklch */ color: oklch(57.8% 0.148 355.0);
Tailwind
colors: {
  custom: {
    50: '#d284a3',
    500: '#ba4e7e',
    950: '#000000',
  },
}
SCSS
$custom: #ba4e7e;
$custom-light: #d284a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4e7e",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 126
  },
  "hsl": {
    "h": 333.333,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57761,
    "c": 0.14816,
    "h": 355
  },
  "luminance": 0.17394
}

Semantic roles & 50–950 ramp

primary
#BA4E7E
secondary
#9ACAB5
accent
#D49B54
background
#FDF8FA
surface
#FAEFF3
border
#D3CACD
text
#150B0F
muted
#837C7F

Preview Lab

Preview with #BA4E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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