#BA498F#BA498F

#BA498F is a mid, vivid pink. Relative luminance 0.172; OKLCH L 57.8% C 0.165 H 345.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#BA498F
RGBrgb(186, 73, 143)
HSLhsl(323, 45%, 51%)
HSVhsv(323, 61%, 73%)
CMYKcmyk(0%, 60.8%, 23.1%, 27.1%)
CIE-LABlab(48.50, 53.05, -15.75)
CIE-LCHlch(48.50, 55.34, 343.47°)
OKLaboklab(57.76% 0.1595 -0.0417)
OKLCHoklch(57.76% 0.165 345.3)
XYZxyz(27.5911, 17.1899, 27.8462)
Luminance0.1719 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA498F #49BA74
analogous
#AC49BA #BA498F #BA4956
triadic
#BA498F #8FBA49 #498FBA
tetradic
#BA498F #BAAC49 #49BA74 #4956BA
square
#BA498F #BAAC49 #49BA74 #4956BA
split-complementary
#BA498F #56BA49 #49BAAC
monochromatic
#63264C #8F366E #BA498F #CB75AA #DCA2C6

Accessibility & contrast

On white

4.73
#BA498F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#BA498F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA498F
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA498F#FFFFFF#000000##FFFFFF
##BA498F1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546791
Deuteranopia (green-blind)
#747A8C
Tritanopia (blue-blind)
#C64866
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba498f;
/* rgb */ color: rgb(186, 73, 143);
/* oklch */ color: oklch(57.8% 0.165 345.3);
Tailwind
colors: {
  custom: {
    50: '#d282b0',
    500: '#ba498f',
    950: '#000000',
  },
}
SCSS
$custom: #ba498f;
$custom-light: #d282b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba498f",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 143
  },
  "hsl": {
    "h": 322.832,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57764,
    "c": 0.16489,
    "h": 345.3
  },
  "luminance": 0.17187
}

Semantic roles & 50–950 ramp

primary
#BA498F
secondary
#96C8A9
accent
#D58453
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #BA498F

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

Preview Lab → · Contrast checker → · Palette generator →

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