#BA4E6C#BA4E6C

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

Color values

HEX#BA4E6C
RGBrgb(186, 78, 108)
HSLhsl(343, 44%, 52%)
HSVhsv(343, 58%, 73%)
CMYKcmyk(0%, 58.1%, 41.9%, 27.1%)
CIE-LABlab(48.23, 46.41, 4.96)
CIE-LCHlch(48.23, 46.67, 6.10°)
OKLaboklab(57.19% 0.1413 0.0133)
OKLCHoklch(57.19% 0.142 5.4)
XYZxyz(25.6825, 16.9734, 16.1081)
Luminance0.1697 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4E6C #4EBA9C
analogous
#BA4EA2 #BA4E6C #BA664E
triadic
#BA4E6C #6CBA4E #4E6CBA
tetradic
#BA4E6C #A2BA4E #4EBA9C #664EBA
square
#BA4E6C #A2BA4E #4EBA9C #664EBA
split-complementary
#BA4E6C #4EBA66 #4EA2BA
monochromatic
#662839 #923952 #BA4E6C #CB7A91 #DCA6B5

Accessibility & contrast

On white

4.78
#BA4E6C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#BA4E6C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4E6C
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4E6C#FFFFFF#000000##FFFFFF
##BA4E6C1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63656D
Deuteranopia (green-blind)
#7F7A6A
Tritanopia (blue-blind)
#C94259
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba4e6c;
/* rgb */ color: rgb(186, 78, 108);
/* oklch */ color: oklch(57.2% 0.142 5.4);
Tailwind
colors: {
  custom: {
    50: '#d38496',
    500: '#ba4e6c',
    950: '#000000',
  },
}
SCSS
$custom: #ba4e6c;
$custom-light: #d38496;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4e6c",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 108
  },
  "hsl": {
    "h": 343.333,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57191,
    "c": 0.14194,
    "h": 5.4
  },
  "luminance": 0.16971
}

Semantic roles & 50–950 ramp

primary
#BA4E6C
secondary
#9ACABC
accent
#D4B054
background
#FDF8F9
surface
#FBEFF1
border
#D4CACB
text
#150B0D
muted
#837C7E

Preview Lab

Preview with #BA4E6C

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

Preview Lab → · Contrast checker → · Palette generator →

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