#BA498E#BA498E

#BA498E is a mid, vivid pink. Relative luminance 0.172; OKLCH L 57.7% C 0.164 H 345.8°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#BA498E
RGBrgb(186, 73, 142)
HSLhsl(323, 45%, 51%)
HSVhsv(323, 61%, 73%)
CMYKcmyk(0%, 60.8%, 23.7%, 27.1%)
CIE-LABlab(48.46, 52.91, -15.20)
CIE-LCHlch(48.46, 55.06, 343.97°)
OKLaboklab(57.72% 0.1593 -0.0402)
OKLCHoklch(57.72% 0.164 345.8)
XYZxyz(27.5156, 17.1598, 27.4490)
Luminance0.1716 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA498E #49BA75
analogous
#AD49BA #BA498E #BA4955
triadic
#BA498E #8EBA49 #498EBA
tetradic
#BA498E #BAAD49 #49BA75 #4955BA
square
#BA498E #BAAD49 #49BA75 #4955BA
split-complementary
#BA498E #55BA49 #49BAAD
monochromatic
#63264B #8F366D #BA498E #CB75AA #DCA2C5

Accessibility & contrast

On white

4.74
#BA498E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#BA498E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA498E
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA498E#FFFFFF#000000##FFFFFF
##BA498E1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546790
Deuteranopia (green-blind)
#747A8B
Tritanopia (blue-blind)
#C64765
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba498e;
/* rgb */ color: rgb(186, 73, 142);
/* oklch */ color: oklch(57.7% 0.164 345.8);
Tailwind
colors: {
  custom: {
    50: '#d282af',
    500: '#ba498e',
    950: '#000000',
  },
}
SCSS
$custom: #ba498e;
$custom-light: #d282af;
$custom-dark: #000000;
JSON
{
  "hex": "#ba498e",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 142
  },
  "hsl": {
    "h": 323.363,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57724,
    "c": 0.16427,
    "h": 345.8
  },
  "luminance": 0.17157
}

Semantic roles & 50–950 ramp

primary
#BA498E
secondary
#96C8AA
accent
#D58653
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #BA498E

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

Preview Lab → · Contrast checker → · Palette generator →

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