#BA497B#BA497B

#BA497B is a mid, vivid pink. Relative luminance 0.166; OKLCH L 57.0% C 0.154 H 355.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#BA497B
RGBrgb(186, 73, 123)
HSLhsl(333, 45%, 51%)
HSVhsv(333, 61%, 73%)
CMYKcmyk(0%, 60.8%, 33.9%, 27.1%)
CIE-LABlab(47.80, 50.44, -4.75)
CIE-LCHlch(47.80, 50.67, 354.62°)
OKLaboklab(57.02% 0.1538 -0.0119)
OKLCHoklch(57.02% 0.154 355.6)
XYZxyz(26.2088, 16.6370, 20.5661)
Luminance0.1663 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA497B #49BA88
analogous
#BA49B4 #BA497B #BA4F49
triadic
#BA497B #7BBA49 #497BBA
tetradic
#BA497B #B4BA49 #49BA88 #4F49BA
square
#BA497B #B4BA49 #49BA88 #4F49BA
split-complementary
#BA497B #49BA4F #49B4BA
monochromatic
#632641 #8F365E #BA497B #CB759B #DCA2BB

Accessibility & contrast

On white

4.85
#BA497B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#BA497B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA497B
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA497B#FFFFFF#000000##FFFFFF
##BA497B1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B647C
Deuteranopia (green-blind)
#797978
Tritanopia (blue-blind)
#C8415D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba497b;
/* rgb */ color: rgb(186, 73, 123);
/* oklch */ color: oklch(57.0% 0.154 355.6);
Tailwind
colors: {
  custom: {
    50: '#d281a1',
    500: '#ba497b',
    950: '#000000',
  },
}
SCSS
$custom: #ba497b;
$custom-light: #d281a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba497b",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 123
  },
  "hsl": {
    "h": 333.451,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57017,
    "c": 0.15424,
    "h": 355.6
  },
  "luminance": 0.16634
}

Semantic roles & 50–950 ramp

primary
#BA497B
secondary
#96C8B2
accent
#D59B53
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BA497B

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

Preview Lab → · Contrast checker → · Palette generator →

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