#BA5078#BA5078

#BA5078 is a mid, vivid pink. Relative luminance 0.175; OKLCH L 57.8% C 0.143 H 358.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#BA5078
RGBrgb(186, 80, 120)
HSLhsl(337, 43%, 52%)
HSVhsv(337, 57%, 73%)
CMYKcmyk(0%, 57%, 35.5%, 27.1%)
CIE-LABlab(48.93, 46.82, -1.28)
CIE-LCHlch(48.93, 46.84, 358.44°)
OKLaboklab(57.83% 0.1426 -0.0027)
OKLCHoklch(57.83% 0.143 358.9)
XYZxyz(26.5099, 17.5352, 19.7542)
Luminance0.1753 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5078 #50BA92
analogous
#BA50AD #BA5078 #BA5D50
triadic
#BA5078 #78BA50 #5078BA
tetradic
#BA5078 #ADBA50 #50BA92 #5D50BA
square
#BA5078 #ADBA50 #50BA92 #5D50BA
split-complementary
#BA5078 #50BA5D #50ADBA
monochromatic
#672940 #933A5B #BA5078 #CB7C9A #DDA8BC

Accessibility & contrast

On white

4.66
#BA5078 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#BA5078 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA5078
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5078#FFFFFF#000000##FFFFFF
##BA50781.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#616879
Deuteranopia (green-blind)
#7D7C76
Tritanopia (blue-blind)
#C8475F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba5078;
/* rgb */ color: rgb(186, 80, 120);
/* oklch */ color: oklch(57.8% 0.143 358.9);
Tailwind
colors: {
  custom: {
    50: '#d2859e',
    500: '#ba5078',
    950: '#000000',
  },
}
SCSS
$custom: #ba5078;
$custom-light: #d2859e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5078",
  "rgb": {
    "r": 186,
    "g": 80,
    "b": 120
  },
  "hsl": {
    "h": 337.358,
    "s": 43.443,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57827,
    "c": 0.14267,
    "h": 358.9
  },
  "luminance": 0.17532
}

Semantic roles & 50–950 ramp

primary
#BA5078
secondary
#9CCAB9
accent
#D3A355
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BA5078

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

Preview Lab → · Contrast checker → · Palette generator →

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