#BA4E90#BA4E90

#BA4E90 is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.4% C 0.158 H 345.4°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#BA4E90
RGBrgb(186, 78, 144)
HSLhsl(323, 44%, 52%)
HSVhsv(323, 58%, 73%)
CMYKcmyk(0%, 58.1%, 22.6%, 27.1%)
CIE-LABlab(49.38, 50.92, -15.00)
CIE-LCHlch(49.38, 53.08, 343.58°)
OKLaboklab(58.43% 0.1529 -0.0397)
OKLCHoklch(58.43% 0.158 345.4)
XYZxyz(28.0090, 17.9040, 28.3608)
Luminance0.1790 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4E90 #4EBA78
analogous
#AE4EBA #BA4E90 #BA4E5A
triadic
#BA4E90 #90BA4E #4E90BA
tetradic
#BA4E90 #BAAE4E #4EBA78 #4E5ABA
square
#BA4E90 #BAAE4E #4EBA78 #4E5ABA
split-complementary
#BA4E90 #5ABA4E #4EBAAE
monochromatic
#66284E #92396F #BA4E90 #CB7AAC #DCA6C7

Accessibility & contrast

On white

4.58
#BA4E90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#BA4E90 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4E90
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4E90#FFFFFF#000000##000000
##BA4E901.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#586A92
Deuteranopia (green-blind)
#767C8D
Tritanopia (blue-blind)
#C54D68
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba4e90;
/* rgb */ color: rgb(186, 78, 144);
/* oklch */ color: oklch(58.4% 0.158 345.4);
Tailwind
colors: {
  custom: {
    50: '#d285b0',
    500: '#ba4e90',
    950: '#000000',
  },
}
SCSS
$custom: #ba4e90;
$custom-light: #d285b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4e90",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 144
  },
  "hsl": {
    "h": 323.333,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58428,
    "c": 0.15792,
    "h": 345.4
  },
  "luminance": 0.17901
}

Semantic roles & 50–950 ramp

primary
#BA4E90
secondary
#9ACAAD
accent
#D48654
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #BA4E90

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

Preview Lab → · Contrast checker → · Palette generator →

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