#BA486E#BA486E

#BA486E is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.5% C 0.151 H 2.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#BA486E
RGBrgb(186, 72, 110)
HSLhsl(340, 45%, 51%)
HSVhsv(340, 61%, 73%)
CMYKcmyk(0%, 61.3%, 40.9%, 27.1%)
CIE-LABlab(47.24, 49.41, 2.32)
CIE-LCHlch(47.24, 49.46, 2.69°)
OKLaboklab(56.47% 0.1508 0.0066)
OKLCHoklch(56.47% 0.151 2.5)
XYZxyz(25.3832, 16.2025, 16.5395)
Luminance0.1620 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA486E #48BA94
analogous
#BA48A7 #BA486E #BA5B48
triadic
#BA486E #6EBA48 #486EBA
tetradic
#BA486E #A7BA48 #48BA94 #5B48BA
square
#BA486E #A7BA48 #48BA94 #5B48BA
split-complementary
#BA486E #48BA5B #48A7BA
monochromatic
#62253A #8F3654 #BA486E #CB7491 #DCA1B4

Accessibility & contrast

On white

4.95
#BA486E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#BA486E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA486E
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA486E#FFFFFF#000000##FFFFFF
##BA486E1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E626F
Deuteranopia (green-blind)
#7C786B
Tritanopia (blue-blind)
#C93C57
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba486e;
/* rgb */ color: rgb(186, 72, 110);
/* oklch */ color: oklch(56.5% 0.151 2.5);
Tailwind
colors: {
  custom: {
    50: '#d38197',
    500: '#ba486e',
    950: '#000000',
  },
}
SCSS
$custom: #ba486e;
$custom-light: #d38197;
$custom-dark: #000000;
JSON
{
  "hex": "#ba486e",
  "rgb": {
    "r": 186,
    "g": 72,
    "b": 110
  },
  "hsl": {
    "h": 340,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56471,
    "c": 0.15091,
    "h": 2.5
  },
  "luminance": 0.162
}

Semantic roles & 50–950 ramp

primary
#BA486E
secondary
#96C8B7
accent
#D5AA53
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150B0D
muted
#837C7E

Preview Lab

Preview with #BA486E

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

Preview Lab → · Contrast checker → · Palette generator →

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