#BA467E#BA467E

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

Color values

HEX#BA467E
RGBrgb(186, 70, 126)
HSLhsl(331, 46%, 50%)
HSVhsv(331, 62%, 73%)
CMYKcmyk(0%, 62.4%, 32.3%, 27.1%)
CIE-LABlab(47.40, 52.15, -7.16)
CIE-LCHlch(47.40, 52.64, 352.18°)
OKLaboklab(56.76% 0.1589 -0.0183)
OKLCHoklch(56.76% 0.16 353.4)
XYZxyz(26.2071, 16.3285, 21.5062)
Luminance0.1633 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA467E #46BA82
analogous
#BA46B8 #BA467E #BA4846
triadic
#BA467E #7EBA46 #467EBA
tetradic
#BA467E #B8BA46 #46BA82 #4846BA
square
#BA467E #B8BA46 #46BA82 #4846BA
split-complementary
#BA467E #46BA48 #46B8BA
monochromatic
#612442 #8E3560 #BA467E #CB739D #DB9FBC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA467E#FFFFFF#000000##FFFFFF
##BA467E1.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)
#586380
Deuteranopia (green-blind)
#77787B
Tritanopia (blue-blind)
#C83F5C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba467e;
/* rgb */ color: rgb(186, 70, 126);
/* oklch */ color: oklch(56.8% 0.160 353.4);
Tailwind
colors: {
  custom: {
    50: '#d280a3',
    500: '#ba467e',
    950: '#000000',
  },
}
SCSS
$custom: #ba467e;
$custom-light: #d280a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba467e",
  "rgb": {
    "r": 186,
    "g": 70,
    "b": 126
  },
  "hsl": {
    "h": 331.034,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56755,
    "c": 0.15994,
    "h": 353.4
  },
  "luminance": 0.16326
}

Semantic roles & 50–950 ramp

primary
#BA467E
secondary
#94C8AF
accent
#D59652
background
#FDF8FA
surface
#FAEFF3
border
#D3CACD
text
#150B0F
muted
#837C7F

Preview Lab

Preview with #BA467E

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

Preview Lab → · Contrast checker → · Palette generator →

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