#BA4E7D#BA4E7D

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

Color values

HEX#BA4E7D
RGBrgb(186, 78, 125)
HSLhsl(334, 44%, 52%)
HSVhsv(334, 58%, 73%)
CMYKcmyk(0%, 58.1%, 32.8%, 27.1%)
CIE-LABlab(48.72, 48.38, -4.59)
CIE-LCHlch(48.72, 48.60, 354.58°)
OKLaboklab(57.73% 0.1473 -0.0115)
OKLCHoklch(57.73% 0.148 355.5)
XYZxyz(26.6771, 17.3713, 21.3461)
Luminance0.1737 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4E7D #4EBA8B
analogous
#BA4EB3 #BA4E7D #BA554E
triadic
#BA4E7D #7DBA4E #4E7DBA
tetradic
#BA4E7D #B3BA4E #4EBA8B #554EBA
square
#BA4E7D #B3BA4E #4EBA8B #554EBA
split-complementary
#BA4E7D #4EBA55 #4EB3BA
monochromatic
#662843 #923960 #BA4E7D #CB7A9D #DCA6BE

Accessibility & contrast

On white

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

On black

4.47
#BA4E7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA4E7D#FFFFFF#000000##FFFFFF
##BA4E7D1.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E677E
Deuteranopia (green-blind)
#7B7B7A
Tritanopia (blue-blind)
#C74760
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba4e7d;
/* rgb */ color: rgb(186, 78, 125);
/* oklch */ color: oklch(57.7% 0.148 355.5);
Tailwind
colors: {
  custom: {
    50: '#d284a2',
    500: '#ba4e7d',
    950: '#000000',
  },
}
SCSS
$custom: #ba4e7d;
$custom-light: #d284a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4e7d",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 125
  },
  "hsl": {
    "h": 333.889,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57726,
    "c": 0.14771,
    "h": 355.5
  },
  "luminance": 0.17369
}

Semantic roles & 50–950 ramp

primary
#BA4E7D
secondary
#9ACAB5
accent
#D49C54
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0F
muted
#837C7E

Preview Lab

Preview with #BA4E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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