#BA497D#BA497D

#BA497D is a mid, vivid pink. Relative luminance 0.167; OKLCH L 57.1% C 0.155 H 354.5°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#BA497D
RGBrgb(186, 73, 125)
HSLhsl(332, 45%, 51%)
HSVhsv(332, 61%, 73%)
CMYKcmyk(0%, 60.8%, 32.8%, 27.1%)
CIE-LABlab(47.86, 50.69, -5.87)
CIE-LCHlch(47.86, 51.03, 353.40°)
OKLaboklab(57.09% 0.1544 -0.0148)
OKLCHoklch(57.09% 0.155 354.5)
XYZxyz(26.3352, 16.6876, 21.2322)
Luminance0.1668 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA497D #49BA86
analogous
#BA49B6 #BA497D #BA4D49
triadic
#BA497D #7DBA49 #497DBA
tetradic
#BA497D #B6BA49 #49BA86 #4D49BA
square
#BA497D #B6BA49 #49BA86 #4D49BA
split-complementary
#BA497D #49BA4D #49B6BA
monochromatic
#632642 #8F365F #BA497D #CB759D #DCA2BC

Accessibility & contrast

On white

4.84
#BA497D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#BA497D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA497D
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA497D#FFFFFF#000000##FFFFFF
##BA497D1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A657F
Deuteranopia (green-blind)
#79797A
Tritanopia (blue-blind)
#C8425E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba497d;
/* rgb */ color: rgb(186, 73, 125);
/* oklch */ color: oklch(57.1% 0.155 354.5);
Tailwind
colors: {
  custom: {
    50: '#d281a2',
    500: '#ba497d',
    950: '#000000',
  },
}
SCSS
$custom: #ba497d;
$custom-light: #d281a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba497d",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 125
  },
  "hsl": {
    "h": 332.389,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57086,
    "c": 0.15513,
    "h": 354.5
  },
  "luminance": 0.16685
}

Semantic roles & 50–950 ramp

primary
#BA497D
secondary
#96C8B1
accent
#D59953
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0F
muted
#837C7E

Preview Lab

Preview with #BA497D

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

Preview Lab → · Contrast checker → · Palette generator →

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