#BA498B#BA498B

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

Color values

HEX#BA498B
RGBrgb(186, 73, 139)
HSLhsl(325, 45%, 51%)
HSVhsv(325, 61%, 73%)
CMYKcmyk(0%, 60.8%, 25.3%, 27.1%)
CIE-LABlab(48.35, 52.50, -13.57)
CIE-LCHlch(48.35, 54.23, 345.50°)
OKLaboklab(57.61% 0.1585 -0.0357)
OKLCHoklch(57.61% 0.162 347.3)
XYZxyz(27.2934, 17.0709, 26.2787)
Luminance0.1707 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA498B #49BA78
analogous
#B149BA #BA498B #BA4952
triadic
#BA498B #8BBA49 #498BBA
tetradic
#BA498B #BAB149 #49BA78 #4952BA
square
#BA498B #BAB149 #49BA78 #4952BA
split-complementary
#BA498B #52BA49 #49BAB1
monochromatic
#632649 #8F366A #BA498B #CB75A7 #DCA2C4

Accessibility & contrast

On white

4.76
#BA498B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#BA498B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA498B
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA498B#FFFFFF#000000##FFFFFF
##BA498B1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56668D
Deuteranopia (green-blind)
#757A88
Tritanopia (blue-blind)
#C64664
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba498b;
/* rgb */ color: rgb(186, 73, 139);
/* oklch */ color: oklch(57.6% 0.162 347.3);
Tailwind
colors: {
  custom: {
    50: '#d282ad',
    500: '#ba498b',
    950: '#000000',
  },
}
SCSS
$custom: #ba498b;
$custom-light: #d282ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ba498b",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 139
  },
  "hsl": {
    "h": 324.956,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57605,
    "c": 0.16247,
    "h": 347.3
  },
  "luminance": 0.17068
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA498B

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

Preview Lab → · Contrast checker → · Palette generator →

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