#BA467F#BA467F

#BA467F is a mid, vivid pink. Relative luminance 0.164; OKLCH L 56.8% C 0.160 H 352.9°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#BA467F
RGBrgb(186, 70, 127)
HSLhsl(331, 46%, 50%)
HSVhsv(331, 62%, 73%)
CMYKcmyk(0%, 62.4%, 31.7%, 27.1%)
CIE-LABlab(47.44, 52.27, -7.72)
CIE-LCHlch(47.44, 52.84, 351.60°)
OKLaboklab(56.79% 0.1592 -0.0198)
OKLCHoklch(56.79% 0.16 352.9)
XYZxyz(26.2719, 16.3545, 21.8477)
Luminance0.1635 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA467F #46BA81
analogous
#BA46B9 #BA467F #BA4746
triadic
#BA467F #7FBA46 #467FBA
tetradic
#BA467F #B9BA46 #46BA81 #4746BA
square
#BA467F #B9BA46 #46BA81 #4746BA
split-complementary
#BA467F #46BA47 #46B9BA
monochromatic
#612442 #8E3561 #BA467F #CB739E #DB9FBD

Accessibility & contrast

On white

4.92
#BA467F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#BA467F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA467F
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA467F#FFFFFF#000000##FFFFFF
##BA467F1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576381
Deuteranopia (green-blind)
#77787C
Tritanopia (blue-blind)
#C73F5D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba467f;
/* rgb */ color: rgb(186, 70, 127);
/* oklch */ color: oklch(56.8% 0.160 352.9);
Tailwind
colors: {
  custom: {
    50: '#d280a4',
    500: '#ba467f',
    950: '#000000',
  },
}
SCSS
$custom: #ba467f;
$custom-light: #d280a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba467f",
  "rgb": {
    "r": 186,
    "g": 70,
    "b": 127
  },
  "hsl": {
    "h": 330.517,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56791,
    "c": 0.16041,
    "h": 352.9
  },
  "luminance": 0.16352
}

Semantic roles & 50–950 ramp

primary
#BA467F
secondary
#94C8AE
accent
#D59552
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150B0F
muted
#837C7F

Preview Lab

Preview with #BA467F

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

Preview Lab → · Contrast checker → · Palette generator →

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