#BA4E8F#BA4E8F

#BA4E8F is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.4% C 0.157 H 345.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#BA4E8F
RGBrgb(186, 78, 143)
HSLhsl(324, 44%, 52%)
HSVhsv(324, 58%, 73%)
CMYKcmyk(0%, 58.1%, 23.1%, 27.1%)
CIE-LABlab(49.34, 50.78, -14.46)
CIE-LCHlch(49.34, 52.80, 344.10°)
OKLaboklab(58.39% 0.1526 -0.0382)
OKLCHoklch(58.39% 0.157 345.9)
XYZxyz(27.9329, 17.8736, 27.9601)
Luminance0.1787 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4E8F #4EBA79
analogous
#AF4EBA #BA4E8F #BA4E59
triadic
#BA4E8F #8FBA4E #4E8FBA
tetradic
#BA4E8F #BAAF4E #4EBA79 #4E59BA
square
#BA4E8F #BAAF4E #4EBA79 #4E59BA
split-complementary
#BA4E8F #59BA4E #4EBAAF
monochromatic
#66284D #92396E #BA4E8F #CB7AAB #DCA6C7

Accessibility & contrast

On white

4.59
#BA4E8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#BA4E8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4E8F
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4E8F#FFFFFF#000000##FFFFFF
##BA4E8F1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586A91
Deuteranopia (green-blind)
#777C8C
Tritanopia (blue-blind)
#C64C68
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba4e8f;
/* rgb */ color: rgb(186, 78, 143);
/* oklch */ color: oklch(58.4% 0.157 345.9);
Tailwind
colors: {
  custom: {
    50: '#d285af',
    500: '#ba4e8f',
    950: '#000000',
  },
}
SCSS
$custom: #ba4e8f;
$custom-light: #d285af;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4e8f",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 143
  },
  "hsl": {
    "h": 323.889,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58389,
    "c": 0.1573,
    "h": 345.9
  },
  "luminance": 0.17871
}

Semantic roles & 50–950 ramp

primary
#BA4E8F
secondary
#9ACAAD
accent
#D48754
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #BA4E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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