#BA4790#BA4790

#BA4790 is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.6% C 0.168 H 344.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#BA4790
RGBrgb(186, 71, 144)
HSLhsl(322, 45%, 50%)
HSVhsv(322, 62%, 73%)
CMYKcmyk(0%, 61.8%, 22.6%, 27.1%)
CIE-LABlab(48.21, 54.08, -16.78)
CIE-LCHlch(48.21, 56.62, 342.76°)
OKLaboklab(57.57% 0.1625 -0.0446)
OKLCHoklch(57.57% 0.168 344.7)
XYZxyz(27.5379, 16.9618, 28.2038)
Luminance0.1696 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4790 #47BA71
analogous
#AB47BA #BA4790 #BA4756
triadic
#BA4790 #90BA47 #4790BA
tetradic
#BA4790 #BAAB47 #47BA71 #4756BA
square
#BA4790 #BAAB47 #47BA71 #4756BA
split-complementary
#BA4790 #56BA47 #47BAAB
monochromatic
#62254C #8E356E #BA4790 #CB74AB #DBA0C6

Accessibility & contrast

On white

4.78
#BA4790 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#BA4790 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4790
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4790#FFFFFF#000000##FFFFFF
##BA47901.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526692
Deuteranopia (green-blind)
#737A8D
Tritanopia (blue-blind)
#C64665
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba4790;
/* rgb */ color: rgb(186, 71, 144);
/* oklch */ color: oklch(57.6% 0.168 344.7);
Tailwind
colors: {
  custom: {
    50: '#d281b0',
    500: '#ba4790',
    950: '#000000',
  },
}
SCSS
$custom: #ba4790;
$custom-light: #d281b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4790",
  "rgb": {
    "r": 186,
    "g": 71,
    "b": 144
  },
  "hsl": {
    "h": 321.913,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57566,
    "c": 0.16845,
    "h": 344.7
  },
  "luminance": 0.16959
}

Semantic roles & 50–950 ramp

primary
#BA4790
secondary
#95C8A7
accent
#D58253
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #BA4790

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

Preview Lab → · Contrast checker → · Palette generator →

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