#BA5F80#BA5F80

#BA5F80 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 60.2% C 0.122 H 358.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#BA5F80
RGBrgb(186, 95, 128)
HSLhsl(338, 40%, 55%)
HSVhsv(338, 49%, 73%)
CMYKcmyk(0%, 48.9%, 31.2%, 27.1%)
CIE-LABlab(52.05, 40.34, -1.49)
CIE-LCHlch(52.05, 40.37, 357.88°)
OKLaboklab(60.25% 0.1223 -0.0034)
OKLCHoklch(60.25% 0.122 358.4)
XYZxyz(28.2393, 20.1845, 22.8266)
Luminance0.2018 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5F80 #5FBA99
analogous
#BA5FAD #BA5F80 #BA6C5F
triadic
#BA5F80 #80BA5F #5F80BA
tetradic
#BA5F80 #ADBA5F #5FBA99 #6C5FBA
square
#BA5F80 #ADBA5F #5FBA99 #6C5FBA
split-complementary
#BA5F80 #5FBA6C #5FADBA
monochromatic
#6F3047 #9A4262 #BA5F80 #CC8AA2 #DFB5C4

Accessibility & contrast

On white

4.17
#BA5F80 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#BA5F80 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5F80
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5F80#FFFFFF#000000##000000
##BA5F801.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7281
Deuteranopia (green-blind)
#84827E
Tritanopia (blue-blind)
#C7596B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ba5f80;
/* rgb */ color: rgb(186, 95, 128);
/* oklch */ color: oklch(60.2% 0.122 358.4);
Tailwind
colors: {
  custom: {
    50: '#d18fa4',
    500: '#ba5f80',
    950: '#000000',
  },
}
SCSS
$custom: #ba5f80;
$custom-light: #d18fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5f80",
  "rgb": {
    "r": 186,
    "g": 95,
    "b": 128
  },
  "hsl": {
    "h": 338.242,
    "s": 39.738,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60246,
    "c": 0.12238,
    "h": 358.4
  },
  "luminance": 0.20182
}

Semantic roles & 50–950 ramp

primary
#BA5F80
secondary
#A7CDC0
accent
#D0A458
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140D0F
muted
#837D7F

Preview Lab

Preview with #BA5F80

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

Preview Lab → · Contrast checker → · Palette generator →

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