#BA4E6B#BA4E6B

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

Color values

HEX#BA4E6B
RGBrgb(186, 78, 107)
HSLhsl(344, 44%, 52%)
HSVhsv(344, 58%, 73%)
CMYKcmyk(0%, 58.1%, 42.5%, 27.1%)
CIE-LABlab(48.20, 46.30, 5.53)
CIE-LCHlch(48.20, 46.63, 6.81°)
OKLaboklab(57.16% 0.1409 0.0147)
OKLCHoklch(57.16% 0.142 6)
XYZxyz(25.6296, 16.9523, 15.8295)
Luminance0.1695 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4E6B #4EBA9D
analogous
#BA4EA1 #BA4E6B #BA674E
triadic
#BA4E6B #6BBA4E #4E6BBA
tetradic
#BA4E6B #A1BA4E #4EBA9D #674EBA
square
#BA4E6B #A1BA4E #4EBA9D #674EBA
split-complementary
#BA4E6B #4EBA67 #4EA1BA
monochromatic
#662838 #923951 #BA4E6B #CB7A90 #DCA6B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA4E6B#FFFFFF#000000##FFFFFF
##BA4E6B1.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)
#63656C
Deuteranopia (green-blind)
#7F7A69
Tritanopia (blue-blind)
#C94259
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba4e6b;
/* rgb */ color: rgb(186, 78, 107);
/* oklch */ color: oklch(57.2% 0.142 6.0);
Tailwind
colors: {
  custom: {
    50: '#d38495',
    500: '#ba4e6b',
    950: '#000000',
  },
}
SCSS
$custom: #ba4e6b;
$custom-light: #d38495;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4e6b",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 107
  },
  "hsl": {
    "h": 343.889,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57162,
    "c": 0.1417,
    "h": 6
  },
  "luminance": 0.16949
}

Semantic roles & 50–950 ramp

primary
#BA4E6B
secondary
#9ACABD
accent
#D4B154
background
#FDF8F9
surface
#FBEFF1
border
#D4CACB
text
#150B0D
muted
#837C7E

Preview Lab

Preview with #BA4E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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