#BA4168#BA4168

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

Color values

HEX#BA4168
RGBrgb(186, 65, 104)
HSLhsl(341, 48%, 49%)
HSVhsv(341, 65%, 73%)
CMYKcmyk(0%, 65.1%, 44.1%, 27.1%)
CIE-LABlab(45.94, 51.85, 4.11)
CIE-LCHlch(45.94, 52.01, 4.53°)
OKLaboklab(55.45% 0.1583 0.0112)
OKLCHoklch(55.45% 0.159 4)
XYZxyz(24.6405, 15.2222, 14.7346)
Luminance0.1522 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4168 #41BA93
analogous
#BA41A5 #BA4168 #BA5741
triadic
#BA4168 #68BA41 #4168BA
tetradic
#BA4168 #A5BA41 #41BA93 #5741BA
square
#BA4168 #A5BA41 #41BA93 #5741BA
split-complementary
#BA4168 #41BA57 #41A5BA
monochromatic
#5F2135 #8D314F #BA4168 #CC6C8B #DC9AAF

Accessibility & contrast

On white

5.19
#BA4168 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA4168
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4168#FFFFFF#000000##FFFFFF
##BA41681.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba4168;
/* rgb */ color: rgb(186, 65, 104);
/* oklch */ color: oklch(55.4% 0.159 4.0);
Tailwind
colors: {
  custom: {
    50: '#d37d93',
    500: '#ba4168',
    950: '#000000',
  },
}
SCSS
$custom: #ba4168;
$custom-light: #d37d93;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4168",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 104
  },
  "hsl": {
    "h": 340.661,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55447,
    "c": 0.15868,
    "h": 4
  },
  "luminance": 0.15219
}

Semantic roles & 50–950 ramp

primary
#BA4168
secondary
#8FC8B5
accent
#D8AC50
background
#FDF7F9
surface
#FBEEF1
border
#D4C9CB
text
#150A0D
muted
#837C7E

Preview Lab

Preview with #BA4168

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

Preview Lab → · Contrast checker → · Palette generator →

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