#BA467C#BA467C

#BA467C is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.7% C 0.159 H 354.5°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#BA467C
RGBrgb(186, 70, 124)
HSLhsl(332, 46%, 50%)
HSVhsv(332, 62%, 73%)
CMYKcmyk(0%, 62.4%, 33.3%, 27.1%)
CIE-LABlab(47.34, 51.90, -6.05)
CIE-LCHlch(47.34, 52.25, 353.36°)
OKLaboklab(56.68% 0.1583 -0.0153)
OKLCHoklch(56.68% 0.159 354.5)
XYZxyz(26.0793, 16.2774, 20.8333)
Luminance0.1628 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA467C #46BA84
analogous
#BA46B6 #BA467C #BA4A46
triadic
#BA467C #7CBA46 #467CBA
tetradic
#BA467C #B6BA46 #46BA84 #4A46BA
square
#BA467C #B6BA46 #46BA84 #4A46BA
split-complementary
#BA467C #46BA4A #46B6BA
monochromatic
#612441 #8E355E #BA467C #CB739C #DB9FBB

Accessibility & contrast

On white

4.94
#BA467C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#BA467C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA467C
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA467C#FFFFFF#000000##FFFFFF
##BA467C1.004.944.264.94
#FFFFFF4.941.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58637E
Deuteranopia (green-blind)
#787879
Tritanopia (blue-blind)
#C83E5C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba467c;
/* rgb */ color: rgb(186, 70, 124);
/* oklch */ color: oklch(56.7% 0.159 354.5);
Tailwind
colors: {
  custom: {
    50: '#d280a1',
    500: '#ba467c',
    950: '#000000',
  },
}
SCSS
$custom: #ba467c;
$custom-light: #d280a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba467c",
  "rgb": {
    "r": 186,
    "g": 70,
    "b": 124
  },
  "hsl": {
    "h": 332.069,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56684,
    "c": 0.15901,
    "h": 354.5
  },
  "luminance": 0.16275
}

Semantic roles & 50–950 ramp

primary
#BA467C
secondary
#94C8B0
accent
#D59852
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0F
muted
#837C7E

Preview Lab

Preview with #BA467C

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

Preview Lab → · Contrast checker → · Palette generator →

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