#BA4592#BA4592

#BA4592 is a mid, vivid pink. Relative luminance 0.168; OKLCH L 57.4% C 0.173 H 343.5°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#BA4592
RGBrgb(186, 69, 146)
HSLhsl(321, 46%, 50%)
HSVhsv(321, 63%, 73%)
CMYKcmyk(0%, 62.9%, 21.5%, 27.1%)
CIE-LABlab(47.97, 55.22, -18.34)
CIE-LCHlch(47.97, 58.19, 341.63°)
OKLaboklab(57.42% 0.1656 -0.0489)
OKLCHoklch(57.42% 0.173 343.5)
XYZxyz(27.5670, 16.7732, 28.9743)
Luminance0.1677 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4592 #45BA6D
analogous
#A845BA #BA4592 #BA4557
triadic
#BA4592 #92BA45 #4592BA
tetradic
#BA4592 #BAA845 #45BA6D #4557BA
square
#BA4592 #BAA845 #45BA6D #4557BA
split-complementary
#BA4592 #57BA45 #45BAA8
monochromatic
#61244C #8D346F #BA4592 #CB72AC #DB9EC6

Accessibility & contrast

On white

4.82
#BA4592 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#BA4592 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4592
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4592#FFFFFF#000000##FFFFFF
##BA45921.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6694
Deuteranopia (green-blind)
#71798F
Tritanopia (blue-blind)
#C54565
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba4592;
/* rgb */ color: rgb(186, 69, 146);
/* oklch */ color: oklch(57.4% 0.173 343.5);
Tailwind
colors: {
  custom: {
    50: '#d280b2',
    500: '#ba4592',
    950: '#000000',
  },
}
SCSS
$custom: #ba4592;
$custom-light: #d280b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4592",
  "rgb": {
    "r": 186,
    "g": 69,
    "b": 146
  },
  "hsl": {
    "h": 320.513,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.57415,
    "c": 0.17262,
    "h": 343.5
  },
  "luminance": 0.16771
}

Semantic roles & 50–950 ramp

primary
#BA4592
secondary
#93C8A5
accent
#D67F52
background
#FDF8FA
surface
#FAEFF5
border
#D3CACF
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA4592

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

Preview Lab → · Contrast checker → · Palette generator →

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