#BA4074#BA4074

#BA4074 is a mid, vivid pink. Relative luminance 0.154; OKLCH L 55.7% C 0.164 H 357.5°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#BA4074
RGBrgb(186, 64, 116)
HSLhsl(334, 49%, 49%)
HSVhsv(334, 66%, 73%)
CMYKcmyk(0%, 65.6%, 37.6%, 27.1%)
CIE-LABlab(46.14, 53.54, -2.95)
CIE-LCHlch(46.14, 53.62, 356.84°)
OKLaboklab(55.71% 0.1638 -0.0071)
OKLCHoklch(55.71% 0.164 357.5)
XYZxyz(25.2370, 15.3697, 18.1572)
Luminance0.1537 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4074 #40BA86
analogous
#BA40B1 #BA4074 #BA4940
triadic
#BA4074 #74BA40 #4074BA
tetradic
#BA4074 #B1BA40 #40BA86 #4940BA
square
#BA4074 #B1BA40 #40BA86 #4940BA
split-complementary
#BA4074 #40BA49 #40B1BA
monochromatic
#5F213B #8C3058 #BA4074 #CC6B94 #DC99B5

Accessibility & contrast

On white

5.16
#BA4074 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#BA4074 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4074
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4074#FFFFFF#000000##FFFFFF
##BA40741.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565F75
Deuteranopia (green-blind)
#777671
Tritanopia (blue-blind)
#C93555
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba4074;
/* rgb */ color: rgb(186, 64, 116);
/* oklch */ color: oklch(55.7% 0.164 357.5);
Tailwind
colors: {
  custom: {
    50: '#d37c9b',
    500: '#ba4074',
    950: '#000000',
  },
}
SCSS
$custom: #ba4074;
$custom-light: #d37c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4074",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 116
  },
  "hsl": {
    "h": 334.426,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55711,
    "c": 0.16391,
    "h": 357.5
  },
  "luminance": 0.15367
}

Semantic roles & 50–950 ramp

primary
#BA4074
secondary
#8EC8AF
accent
#D89E4F
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA4074

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

Preview Lab → · Contrast checker → · Palette generator →

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