#BA4775#BA4775

#BA4775 is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.6% C 0.155 H 358.4°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#BA4775
RGBrgb(186, 71, 117)
HSLhsl(336, 45%, 50%)
HSVhsv(336, 62%, 73%)
CMYKcmyk(0%, 61.8%, 37.1%, 27.1%)
CIE-LABlab(47.28, 50.63, -1.88)
CIE-LCHlch(47.28, 50.67, 357.87°)
OKLaboklab(56.57% 0.1546 -0.0043)
OKLCHoklch(56.57% 0.155 358.4)
XYZxyz(25.7153, 16.2328, 18.6052)
Luminance0.1623 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4775 #47BA8C
analogous
#BA47AF #BA4775 #BA5247
triadic
#BA4775 #75BA47 #4775BA
tetradic
#BA4775 #AFBA47 #47BA8C #5247BA
square
#BA4775 #AFBA47 #47BA8C #5247BA
split-complementary
#BA4775 #47BA52 #47AFBA
monochromatic
#62253D #8E3559 #BA4775 #CB7496 #DBA0B8

Accessibility & contrast

On white

4.95
#BA4775 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#BA4775 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4775
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4775#FFFFFF#000000##FFFFFF
##BA47751.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6276
Deuteranopia (green-blind)
#7A7872
Tritanopia (blue-blind)
#C83D59
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba4775;
/* rgb */ color: rgb(186, 71, 117);
/* oklch */ color: oklch(56.6% 0.155 358.4);
Tailwind
colors: {
  custom: {
    50: '#d3809c',
    500: '#ba4775',
    950: '#000000',
  },
}
SCSS
$custom: #ba4775;
$custom-light: #d3809c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4775",
  "rgb": {
    "r": 186,
    "g": 71,
    "b": 117
  },
  "hsl": {
    "h": 336,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56568,
    "c": 0.15467,
    "h": 358.4
  },
  "luminance": 0.1623
}

Semantic roles & 50–950 ramp

primary
#BA4775
secondary
#95C8B4
accent
#D5A153
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BA4775

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

Preview Lab → · Contrast checker → · Palette generator →

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