#BA4076#BA4076

#BA4076 is a mid, vivid pink. Relative luminance 0.154; OKLCH L 55.8% C 0.165 H 356.5°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#BA4076
RGBrgb(186, 64, 118)
HSLhsl(333, 49%, 49%)
HSVhsv(333, 66%, 73%)
CMYKcmyk(0%, 65.6%, 36.6%, 27.1%)
CIE-LABlab(46.20, 53.76, -4.08)
CIE-LCHlch(46.20, 53.92, 355.66°)
OKLaboklab(55.78% 0.1644 -0.01)
OKLCHoklch(55.78% 0.165 356.5)
XYZxyz(25.3546, 15.4168, 18.7765)
Luminance0.1541 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4076 #40BA84
analogous
#BA40B3 #BA4076 #BA4740
triadic
#BA4076 #76BA40 #4076BA
tetradic
#BA4076 #B3BA40 #40BA84 #4740BA
square
#BA4076 #B3BA40 #40BA84 #4740BA
split-complementary
#BA4076 #40BA47 #40B3BA
monochromatic
#5F213C #8C3059 #BA4076 #CC6B96 #DC99B6

Accessibility & contrast

On white

5.14
#BA4076 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#BA4076 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4076
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4076#FFFFFF#000000##FFFFFF
##BA40761.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555F78
Deuteranopia (green-blind)
#777673
Tritanopia (blue-blind)
#C83556
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba4076;
/* rgb */ color: rgb(186, 64, 118);
/* oklch */ color: oklch(55.8% 0.165 356.5);
Tailwind
colors: {
  custom: {
    50: '#d37c9d',
    500: '#ba4076',
    950: '#000000',
  },
}
SCSS
$custom: #ba4076;
$custom-light: #d37c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4076",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 118
  },
  "hsl": {
    "h": 333.443,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55779,
    "c": 0.16472,
    "h": 356.5
  },
  "luminance": 0.15414
}

Semantic roles & 50–950 ramp

primary
#BA4076
secondary
#8EC8AE
accent
#D89C4F
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA4076

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

Preview Lab → · Contrast checker → · Palette generator →

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