#BA4175#BA4175

#BA4175 is a mid, vivid pink. Relative luminance 0.155; OKLCH L 55.9% C 0.163 H 357.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#BA4175
RGBrgb(186, 65, 117)
HSLhsl(334, 48%, 49%)
HSVhsv(334, 65%, 73%)
CMYKcmyk(0%, 65.1%, 37.1%, 27.1%)
CIE-LABlab(46.32, 53.23, -3.29)
CIE-LCHlch(46.32, 53.34, 356.46°)
OKLaboklab(55.86% 0.1628 -0.008)
OKLCHoklch(55.86% 0.163 357.2)
XYZxyz(25.3524, 15.5069, 18.4842)
Luminance0.1550 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4175 #41BA86
analogous
#BA41B2 #BA4175 #BA4A41
triadic
#BA4175 #75BA41 #4175BA
tetradic
#BA4175 #B2BA41 #41BA86 #4A41BA
square
#BA4175 #B2BA41 #41BA86 #4A41BA
split-complementary
#BA4175 #41BA4A #41B2BA
monochromatic
#5F213C #8D3158 #BA4175 #CC6C95 #DC9AB6

Accessibility & contrast

On white

5.12
#BA4175 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#BA4175 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4175
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4175#FFFFFF#000000##FFFFFF
##BA41751.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565F76
Deuteranopia (green-blind)
#777672
Tritanopia (blue-blind)
#C83656
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba4175;
/* rgb */ color: rgb(186, 65, 117);
/* oklch */ color: oklch(55.9% 0.163 357.2);
Tailwind
colors: {
  custom: {
    50: '#d37d9c',
    500: '#ba4175',
    950: '#000000',
  },
}
SCSS
$custom: #ba4175;
$custom-light: #d37d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4175",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 117
  },
  "hsl": {
    "h": 334.215,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55858,
    "c": 0.16297,
    "h": 357.2
  },
  "luminance": 0.15504
}

Semantic roles & 50–950 ramp

primary
#BA4175
secondary
#8FC8AF
accent
#D89D50
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA4175

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

Preview Lab → · Contrast checker → · Palette generator →

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