#BA4E6F#BA4E6F

#BA4E6F is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.3% C 0.143 H 3.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#BA4E6F
RGBrgb(186, 78, 111)
HSLhsl(342, 44%, 52%)
HSVhsv(342, 58%, 73%)
CMYKcmyk(0%, 58.1%, 40.3%, 27.1%)
CIE-LABlab(48.31, 46.74, 3.26)
CIE-LCHlch(48.31, 46.85, 3.99°)
OKLaboklab(57.28% 0.1424 0.009)
OKLCHoklch(57.28% 0.143 3.6)
XYZxyz(25.8449, 17.0384, 16.9635)
Luminance0.1704 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4E6F #4EBA99
analogous
#BA4EA5 #BA4E6F #BA634E
triadic
#BA4E6F #6FBA4E #4E6FBA
tetradic
#BA4E6F #A5BA4E #4EBA99 #634EBA
square
#BA4E6F #A5BA4E #4EBA99 #634EBA
split-complementary
#BA4E6F #4EBA63 #4EA5BA
monochromatic
#66283B #923954 #BA4E6F #CB7A93 #DCA6B7

Accessibility & contrast

On white

4.76
#BA4E6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#BA4E6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4E6F
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4E6F#FFFFFF#000000##FFFFFF
##BA4E6F1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#626670
Deuteranopia (green-blind)
#7E7A6D
Tritanopia (blue-blind)
#C9435A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba4e6f;
/* rgb */ color: rgb(186, 78, 111);
/* oklch */ color: oklch(57.3% 0.143 3.6);
Tailwind
colors: {
  custom: {
    50: '#d38498',
    500: '#ba4e6f',
    950: '#000000',
  },
}
SCSS
$custom: #ba4e6f;
$custom-light: #d38498;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4e6f",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 111
  },
  "hsl": {
    "h": 341.667,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57279,
    "c": 0.14269,
    "h": 3.6
  },
  "luminance": 0.17036
}

Semantic roles & 50–950 ramp

primary
#BA4E6F
secondary
#9ACABB
accent
#D4AD54
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0D
muted
#837C7E

Preview Lab

Preview with #BA4E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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