#BA467B#BA467B

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

Color values

HEX#BA467B
RGBrgb(186, 70, 123)
HSLhsl(333, 46%, 50%)
HSVhsv(333, 62%, 73%)
CMYKcmyk(0%, 62.4%, 33.9%, 27.1%)
CIE-LABlab(47.30, 51.78, -5.49)
CIE-LCHlch(47.30, 52.07, 353.95°)
OKLaboklab(56.65% 0.158 -0.0138)
OKLCHoklch(56.65% 0.159 355)
XYZxyz(26.0164, 16.2523, 20.5019)
Luminance0.1625 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA467B #46BA85
analogous
#BA46B5 #BA467B #BA4B46
triadic
#BA467B #7BBA46 #467BBA
tetradic
#BA467B #B5BA46 #46BA85 #4B46BA
square
#BA467B #B5BA46 #46BA85 #4B46BA
split-complementary
#BA467B #46BA4B #46B5BA
monochromatic
#612440 #8E355E #BA467B #CB739B #DB9FBB

Accessibility & contrast

On white

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

On black

4.25
#BA467B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA467B#FFFFFF#000000##FFFFFF
##BA467B1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58637D
Deuteranopia (green-blind)
#787878
Tritanopia (blue-blind)
#C83E5B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba467b;
/* rgb */ color: rgb(186, 70, 123);
/* oklch */ color: oklch(56.6% 0.159 355.0);
Tailwind
colors: {
  custom: {
    50: '#d380a1',
    500: '#ba467b',
    950: '#000000',
  },
}
SCSS
$custom: #ba467b;
$custom-light: #d380a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba467b",
  "rgb": {
    "r": 186,
    "g": 70,
    "b": 123
  },
  "hsl": {
    "h": 332.586,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56649,
    "c": 0.15856,
    "h": 355
  },
  "luminance": 0.16249
}

Semantic roles & 50–950 ramp

primary
#BA467B
secondary
#94C8B0
accent
#D59A52
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BA467B

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

Preview Lab → · Contrast checker → · Palette generator →

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