#BA4166#BA4166

#BA4166 is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.4% C 0.158 H 5.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#BA4166
RGBrgb(186, 65, 102)
HSLhsl(342, 48%, 49%)
HSVhsv(342, 65%, 73%)
CMYKcmyk(0%, 65.1%, 45.2%, 27.1%)
CIE-LABlab(45.88, 51.65, 5.26)
CIE-LCHlch(45.88, 51.91, 5.81°)
OKLaboklab(55.39% 0.1576 0.014)
OKLCHoklch(55.39% 0.158 5.1)
XYZxyz(24.5401, 15.1820, 14.2059)
Luminance0.1518 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4166 #41BA95
analogous
#BA41A3 #BA4166 #BA5941
triadic
#BA4166 #66BA41 #4166BA
tetradic
#BA4166 #A3BA41 #41BA95 #5941BA
square
#BA4166 #A3BA41 #41BA95 #5941BA
split-complementary
#BA4166 #41BA59 #41A3BA
monochromatic
#5F2134 #8D314D #BA4166 #CC6C8A #DC9AAE

Accessibility & contrast

On white

5.20
#BA4166 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#BA4166 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4166
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4166#FFFFFF#000000##FFFFFF
##BA41661.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5E67
Deuteranopia (green-blind)
#7A7563
Tritanopia (blue-blind)
#CA3150
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba4166;
/* rgb */ color: rgb(186, 65, 102);
/* oklch */ color: oklch(55.4% 0.158 5.1);
Tailwind
colors: {
  custom: {
    50: '#d47d91',
    500: '#ba4166',
    950: '#000000',
  },
}
SCSS
$custom: #ba4166;
$custom-light: #d47d91;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4166",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 102
  },
  "hsl": {
    "h": 341.653,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55389,
    "c": 0.15818,
    "h": 5.1
  },
  "luminance": 0.15179
}

Semantic roles & 50–950 ramp

primary
#BA4166
secondary
#8FC8B6
accent
#D8AE50
background
#FDF7F8
surface
#FBEEF0
border
#D4C9CB
text
#150A0C
muted
#837C7D

Preview Lab

Preview with #BA4166

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

Preview Lab → · Contrast checker → · Palette generator →

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