#BA3167#BA3167

#BA3167 is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.8% C 0.178 H 1.4°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#BA3167
RGBrgb(186, 49, 103)
HSLhsl(336, 58%, 46%)
HSVhsv(336, 74%, 73%)
CMYKcmyk(0%, 73.7%, 44.6%, 27.1%)
CIE-LABlab(43.68, 57.90, 1.46)
CIE-LCHlch(43.68, 57.92, 1.45°)
OKLaboklab(53.77% 0.1775 0.0044)
OKLCHoklch(53.77% 0.178 1.4)
XYZxyz(23.7980, 13.6181, 14.2047)
Luminance0.1361 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3167 #31BA84
analogous
#BA31AB #BA3167 #BA3F31
triadic
#BA3167 #67BA31 #3167BA
tetradic
#BA3167 #ABBA31 #31BA84 #3F31BA
square
#BA3167 #ABBA31 #31BA84 #3F31BA
split-complementary
#BA3167 #31BA3F #31ABBA
monochromatic
#591731 #8A244C #BA3167 #D25687 #DF86A9

Accessibility & contrast

On white

5.64
#BA3167 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#BA3167 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3167
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3167#FFFFFF#000000##FFFFFF
##BA31671.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505668
Deuteranopia (green-blind)
#747164
Tritanopia (blue-blind)
#CA1A48
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba3167;
/* rgb */ color: rgb(186, 49, 103);
/* oklch */ color: oklch(53.8% 0.178 1.4);
Tailwind
colors: {
  custom: {
    50: '#d47592',
    500: '#ba3167',
    950: '#000000',
  },
}
SCSS
$custom: #ba3167;
$custom-light: #d47592;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3167",
  "rgb": {
    "r": 186,
    "g": 49,
    "b": 103
  },
  "hsl": {
    "h": 336.35,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53768,
    "c": 0.17759,
    "h": 1.4
  },
  "luminance": 0.13615
}

Semantic roles & 50–950 ramp

primary
#BA3167
secondary
#7EC9AB
accent
#E2A446
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BA3167

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

Preview Lab → · Contrast checker → · Palette generator →

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