#BA4F90#BA4F90

#BA4F90 is a mid, vivid pink. Relative luminance 0.180; OKLCH L 58.6% C 0.156 H 345.6°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#BA4F90
RGBrgb(186, 79, 144)
HSLhsl(324, 44%, 52%)
HSVhsv(324, 58%, 73%)
CMYKcmyk(0%, 57.5%, 22.6%, 27.1%)
CIE-LABlab(49.55, 50.45, -14.74)
CIE-LCHlch(49.55, 52.56, 343.71°)
OKLaboklab(58.56% 0.1514 -0.039)
OKLCHoklch(58.56% 0.156 345.6)
XYZxyz(28.0806, 18.0472, 28.3847)
Luminance0.1804 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4F90 #4FBA79
analogous
#AE4FBA #BA4F90 #BA4F5B
triadic
#BA4F90 #90BA4F #4F90BA
tetradic
#BA4F90 #BAAE4F #4FBA79 #4F5BBA
square
#BA4F90 #BAAE4F #4FBA79 #4F5BBA
split-complementary
#BA4F90 #5BBA4F #4FBAAE
monochromatic
#66284E #92396F #BA4F90 #CB7BAC #DCA7C7

Accessibility & contrast

On white

4.56
#BA4F90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#BA4F90 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4F90
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4F90#FFFFFF#000000##000000
##BA4F901.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#596A92
Deuteranopia (green-blind)
#777D8D
Tritanopia (blue-blind)
#C54E69
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba4f90;
/* rgb */ color: rgb(186, 79, 144);
/* oklch */ color: oklch(58.6% 0.156 345.6);
Tailwind
colors: {
  custom: {
    50: '#d285b0',
    500: '#ba4f90',
    950: '#000000',
  },
}
SCSS
$custom: #ba4f90;
$custom-light: #d285b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4f90",
  "rgb": {
    "r": 186,
    "g": 79,
    "b": 144
  },
  "hsl": {
    "h": 323.551,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58557,
    "c": 0.15638,
    "h": 345.6
  },
  "luminance": 0.18045
}

Semantic roles & 50–950 ramp

primary
#BA4F90
secondary
#9BCAAD
accent
#D38654
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #BA4F90

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

Preview Lab → · Contrast checker → · Palette generator →

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