#BA4F83#BA4F83

#BA4F83 is a mid, vivid pink. Relative luminance 0.177; OKLCH L 58.1% C 0.149 H 352.4°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#BA4F83
RGBrgb(186, 79, 131)
HSLhsl(331, 44%, 52%)
HSVhsv(331, 58%, 73%)
CMYKcmyk(0%, 57.5%, 29.6%, 27.1%)
CIE-LABlab(49.10, 48.68, -7.65)
CIE-LCHlch(49.10, 49.28, 351.07°)
OKLaboklab(58.07% 0.1477 -0.0197)
OKLCHoklch(58.07% 0.149 352.4)
XYZxyz(27.1436, 17.6724, 23.4499)
Luminance0.1767 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4F83 #4FBA86
analogous
#BA4FB8 #BA4F83 #BA514F
triadic
#BA4F83 #83BA4F #4F83BA
tetradic
#BA4F83 #B8BA4F #4FBA86 #514FBA
square
#BA4F83 #B8BA4F #4FBA86 #514FBA
split-complementary
#BA4F83 #4FBA51 #4FB8BA
monochromatic
#662846 #923965 #BA4F83 #CB7BA2 #DCA7C1

Accessibility & contrast

On white

4.63
#BA4F83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#BA4F83 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4F83
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4F83#FFFFFF#000000##FFFFFF
##BA4F831.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6985
Deuteranopia (green-blind)
#7A7C80
Tritanopia (blue-blind)
#C74A63
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba4f83;
/* rgb */ color: rgb(186, 79, 131);
/* oklch */ color: oklch(58.1% 0.149 352.4);
Tailwind
colors: {
  custom: {
    50: '#d285a7',
    500: '#ba4f83',
    950: '#000000',
  },
}
SCSS
$custom: #ba4f83;
$custom-light: #d285a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4f83",
  "rgb": {
    "r": 186,
    "g": 79,
    "b": 131
  },
  "hsl": {
    "h": 330.841,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58068,
    "c": 0.14901,
    "h": 352.4
  },
  "luminance": 0.1767
}

Semantic roles & 50–950 ramp

primary
#BA4F83
secondary
#9BCAB3
accent
#D39654
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140B0F
muted
#837C7F

Preview Lab

Preview with #BA4F83

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

Preview Lab → · Contrast checker → · Palette generator →

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