#BA4170#BA4170

#BA4170 is a mid, vivid pink. Relative luminance 0.154; OKLCH L 55.7% C 0.161 H 359.8°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#BA4170
RGBrgb(186, 65, 112)
HSLhsl(337, 48%, 49%)
HSVhsv(337, 65%, 73%)
CMYKcmyk(0%, 65.1%, 39.8%, 27.1%)
CIE-LABlab(46.17, 52.68, -0.46)
CIE-LCHlch(46.17, 52.68, 359.50°)
OKLaboklab(55.69% 0.1611 -0.0006)
OKLCHoklch(55.69% 0.161 359.8)
XYZxyz(25.0663, 15.3925, 16.9771)
Luminance0.1539 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4170 #41BA8B
analogous
#BA41AD #BA4170 #BA4F41
triadic
#BA4170 #70BA41 #4170BA
tetradic
#BA4170 #ADBA41 #41BA8B #4F41BA
square
#BA4170 #ADBA41 #41BA8B #4F41BA
split-complementary
#BA4170 #41BA4F #41ADBA
monochromatic
#5F2139 #8D3155 #BA4170 #CC6C91 #DC9AB3

Accessibility & contrast

On white

5.15
#BA4170 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#BA4170 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4170
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4170#FFFFFF#000000##FFFFFF
##BA41701.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585F71
Deuteranopia (green-blind)
#78766D
Tritanopia (blue-blind)
#C93454
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba4170;
/* rgb */ color: rgb(186, 65, 112);
/* oklch */ color: oklch(55.7% 0.161 359.8);
Tailwind
colors: {
  custom: {
    50: '#d37d98',
    500: '#ba4170',
    950: '#000000',
  },
}
SCSS
$custom: #ba4170;
$custom-light: #d37d98;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4170",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 112
  },
  "hsl": {
    "h": 336.694,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55693,
    "c": 0.16111,
    "h": 359.8
  },
  "luminance": 0.1539
}

Semantic roles & 50–950 ramp

primary
#BA4170
secondary
#8FC8B2
accent
#D8A350
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0D
muted
#837C7E

Preview Lab

Preview with #BA4170

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

Preview Lab → · Contrast checker → · Palette generator →

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