#BA4795#BA4795

#BA4795 is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.8% C 0.172 H 342.4°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#BA4795
RGBrgb(186, 71, 149)
HSLhsl(319, 45%, 50%)
HSVhsv(319, 62%, 73%)
CMYKcmyk(0%, 61.8%, 19.9%, 27.1%)
CIE-LABlab(48.41, 54.79, -19.47)
CIE-LCHlch(48.41, 58.14, 340.44°)
OKLaboklab(57.78% 0.1636 -0.052)
OKLCHoklch(57.78% 0.172 342.4)
XYZxyz(27.9285, 17.1180, 30.2612)
Luminance0.1712 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4795 #47BA6C
analogous
#A547BA #BA4795 #BA475B
triadic
#BA4795 #95BA47 #4795BA
tetradic
#BA4795 #BAA547 #47BA6C #475BBA
square
#BA4795 #BAA547 #47BA6C #475BBA
split-complementary
#BA4795 #5BBA47 #47BAA5
monochromatic
#62254E #8E3572 #BA4795 #CB74AF #DBA0C8

Accessibility & contrast

On white

4.75
#BA4795 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#BA4795 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4795
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4795#FFFFFF#000000##FFFFFF
##BA47951.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506797
Deuteranopia (green-blind)
#717A92
Tritanopia (blue-blind)
#C54868
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba4795;
/* rgb */ color: rgb(186, 71, 149);
/* oklch */ color: oklch(57.8% 0.172 342.4);
Tailwind
colors: {
  custom: {
    50: '#d281b4',
    500: '#ba4795',
    950: '#000000',
  },
}
SCSS
$custom: #ba4795;
$custom-light: #d281b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4795",
  "rgb": {
    "r": 186,
    "g": 71,
    "b": 149
  },
  "hsl": {
    "h": 319.304,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57775,
    "c": 0.17168,
    "h": 342.4
  },
  "luminance": 0.17116
}

Semantic roles & 50–950 ramp

primary
#BA4795
secondary
#95C8A5
accent
#D57D53
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA4795

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

Preview Lab → · Contrast checker → · Palette generator →

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