#BA5497#BA5497

#BA5497 is a mid, vivid pink. Relative luminance 0.190; OKLCH L 59.5% C 0.153 H 342.6°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#BA5497
RGBrgb(186, 84, 151)
HSLhsl(321, 43%, 53%)
HSVhsv(321, 55%, 73%)
CMYKcmyk(0%, 54.8%, 18.8%, 27.1%)
CIE-LABlab(50.71, 49.10, -17.15)
CIE-LCHlch(50.71, 52.01, 340.75°)
OKLaboklab(59.5% 0.1461 -0.0457)
OKLCHoklch(59.5% 0.153 342.6)
XYZxyz(29.0066, 19.0165, 31.4150)
Luminance0.1901 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5497 #54BA77
analogous
#AA54BA #BA5497 #BA5464
triadic
#BA5497 #97BA54 #5497BA
tetradic
#BA5497 #BAAA54 #54BA77 #5464BA
square
#BA5497 #BAAA54 #54BA77 #5464BA
split-complementary
#BA5497 #64BA54 #54BAAA
monochromatic
#692A54 #953C76 #BA5497 #CC80B2 #DDABCC

Accessibility & contrast

On white

4.37
#BA5497 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#BA5497 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5497
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5497#FFFFFF#000000##000000
##BA54971.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6E99
Deuteranopia (green-blind)
#777F94
Tritanopia (blue-blind)
#C4546F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba5497;
/* rgb */ color: rgb(186, 84, 151);
/* oklch */ color: oklch(59.5% 0.153 342.6);
Tailwind
colors: {
  custom: {
    50: '#d188b5',
    500: '#ba5497',
    950: '#000000',
  },
}
SCSS
$custom: #ba5497;
$custom-light: #d188b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5497",
  "rgb": {
    "r": 186,
    "g": 84,
    "b": 151
  },
  "hsl": {
    "h": 320.588,
    "s": 42.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59499,
    "c": 0.15306,
    "h": 342.6
  },
  "luminance": 0.19014
}

Semantic roles & 50–950 ramp

primary
#BA5497
secondary
#9FCBAE
accent
#D28056
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C11
muted
#837D80

Preview Lab

Preview with #BA5497

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

Preview Lab → · Contrast checker → · Palette generator →

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