#BA4165#BA4165

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

Color values

HEX#BA4165
RGBrgb(186, 65, 101)
HSLhsl(342, 48%, 49%)
HSVhsv(342, 65%, 73%)
CMYKcmyk(0%, 65.1%, 45.7%, 27.1%)
CIE-LABlab(45.86, 51.55, 5.83)
CIE-LCHlch(45.86, 51.88, 6.45°)
OKLaboklab(55.36% 0.1572 0.0155)
OKLCHoklch(55.36% 0.158 5.6)
XYZxyz(24.4908, 15.1623, 13.9463)
Luminance0.1516 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4165 #41BA96
analogous
#BA41A2 #BA4165 #BA5A41
triadic
#BA4165 #65BA41 #4165BA
tetradic
#BA4165 #A2BA41 #41BA96 #5A41BA
square
#BA4165 #A2BA41 #41BA96 #5A41BA
split-complementary
#BA4165 #41BA5A #41A2BA
monochromatic
#5F2134 #8D314C #BA4165 #CC6C89 #DC9AAD

Accessibility & contrast

On white

5.21
#BA4165 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#BA4165 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4165
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4165#FFFFFF#000000##FFFFFF
##BA41651.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5E66
Deuteranopia (green-blind)
#7A7562
Tritanopia (blue-blind)
#CA304F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba4165;
/* rgb */ color: rgb(186, 65, 101);
/* oklch */ color: oklch(55.4% 0.158 5.6);
Tailwind
colors: {
  custom: {
    50: '#d47d90',
    500: '#ba4165',
    950: '#000000',
  },
}
SCSS
$custom: #ba4165;
$custom-light: #d47d90;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4165",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 101
  },
  "hsl": {
    "h": 342.149,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.5536,
    "c": 0.15795,
    "h": 5.6
  },
  "luminance": 0.15159
}

Semantic roles & 50–950 ramp

primary
#BA4165
secondary
#8FC8B7
accent
#D8AF50
background
#FDF7F8
surface
#FBEEF0
border
#D4C9CB
text
#150A0C
muted
#837C7D

Preview Lab

Preview with #BA4165

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

Preview Lab → · Contrast checker → · Palette generator →

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