#BA498C#BA498C

#BA498C is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.6% C 0.163 H 346.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#BA498C
RGBrgb(186, 73, 140)
HSLhsl(324, 45%, 51%)
HSVhsv(324, 61%, 73%)
CMYKcmyk(0%, 60.8%, 24.7%, 27.1%)
CIE-LABlab(48.39, 52.64, -14.12)
CIE-LCHlch(48.39, 54.50, 344.99°)
OKLaboklab(57.65% 0.1588 -0.0372)
OKLCHoklch(57.65% 0.163 346.8)
XYZxyz(27.3668, 17.1002, 26.6653)
Luminance0.1710 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA498C #49BA77
analogous
#AF49BA #BA498C #BA4953
triadic
#BA498C #8CBA49 #498CBA
tetradic
#BA498C #BAAF49 #49BA77 #4953BA
square
#BA498C #BAAF49 #49BA77 #4953BA
split-complementary
#BA498C #53BA49 #49BAAF
monochromatic
#63264A #8F366B #BA498C #CB75A8 #DCA2C4

Accessibility & contrast

On white

4.75
#BA498C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#BA498C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA498C
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA498C#FFFFFF#000000##FFFFFF
##BA498C1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55678E
Deuteranopia (green-blind)
#757A89
Tritanopia (blue-blind)
#C64764
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba498c;
/* rgb */ color: rgb(186, 73, 140);
/* oklch */ color: oklch(57.6% 0.163 346.8);
Tailwind
colors: {
  custom: {
    50: '#d282ad',
    500: '#ba498c',
    950: '#000000',
  },
}
SCSS
$custom: #ba498c;
$custom-light: #d282ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ba498c",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 140
  },
  "hsl": {
    "h": 324.425,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57645,
    "c": 0.16306,
    "h": 346.8
  },
  "luminance": 0.17098
}

Semantic roles & 50–950 ramp

primary
#BA498C
secondary
#96C8AB
accent
#D58853
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #BA498C

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

Preview Lab → · Contrast checker → · Palette generator →

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