#BA4078#BA4078

#BA4078 is a mid, vivid pink. Relative luminance 0.155; OKLCH L 55.8% C 0.166 H 355.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#BA4078
RGBrgb(186, 64, 120)
HSLhsl(332, 49%, 49%)
HSVhsv(332, 66%, 73%)
CMYKcmyk(0%, 65.6%, 35.5%, 27.1%)
CIE-LABlab(46.26, 53.99, -5.21)
CIE-LCHlch(46.26, 54.24, 354.49°)
OKLaboklab(55.85% 0.165 -0.013)
OKLCHoklch(55.85% 0.166 355.5)
XYZxyz(25.4747, 15.4648, 19.4091)
Luminance0.1546 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4078 #40BA82
analogous
#BA40B5 #BA4078 #BA4540
triadic
#BA4078 #78BA40 #4078BA
tetradic
#BA4078 #B5BA40 #40BA82 #4540BA
square
#BA4078 #B5BA40 #40BA82 #4540BA
split-complementary
#BA4078 #40BA45 #40B5BA
monochromatic
#5F213D #8C305B #BA4078 #CC6B98 #DC99B7

Accessibility & contrast

On white

5.13
#BA4078 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#BA4078 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4078
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4078#FFFFFF#000000##FFFFFF
##BA40781.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555F7A
Deuteranopia (green-blind)
#767675
Tritanopia (blue-blind)
#C83657
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba4078;
/* rgb */ color: rgb(186, 64, 120);
/* oklch */ color: oklch(55.8% 0.166 355.5);
Tailwind
colors: {
  custom: {
    50: '#d37c9e',
    500: '#ba4078',
    950: '#000000',
  },
}
SCSS
$custom: #ba4078;
$custom-light: #d37c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4078",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 120
  },
  "hsl": {
    "h": 332.459,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55848,
    "c": 0.16555,
    "h": 355.5
  },
  "luminance": 0.15462
}

Semantic roles & 50–950 ramp

primary
#BA4078
secondary
#8EC8AD
accent
#D89A4F
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA4078

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

Preview Lab → · Contrast checker → · Palette generator →

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