#BA3168#BA3168

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

Color values

HEX#BA3168
RGBrgb(186, 49, 104)
HSLhsl(336, 58%, 46%)
HSVhsv(336, 74%, 73%)
CMYKcmyk(0%, 73.7%, 44.1%, 27.1%)
CIE-LABlab(43.71, 57.99, 0.88)
CIE-LCHlch(43.71, 58.00, 0.87°)
OKLaboklab(53.8% 0.1779 0.0029)
OKLCHoklch(53.8% 0.178 0.9)
XYZxyz(23.8485, 13.6383, 14.4706)
Luminance0.1363 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3168 #31BA83
analogous
#BA31AC #BA3168 #BA3E31
triadic
#BA3168 #68BA31 #3168BA
tetradic
#BA3168 #ACBA31 #31BA83 #3E31BA
square
#BA3168 #ACBA31 #31BA83 #3E31BA
split-complementary
#BA3168 #31BA3E #31ACBA
monochromatic
#591732 #8A244D #BA3168 #D25688 #DF86AA

Accessibility & contrast

On white

5.63
#BA3168 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#BA3168 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3168
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3168#FFFFFF#000000##FFFFFF
##BA31681.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5669
Deuteranopia (green-blind)
#747165
Tritanopia (blue-blind)
#CA1A48
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba3168;
/* rgb */ color: rgb(186, 49, 104);
/* oklch */ color: oklch(53.8% 0.178 0.9);
Tailwind
colors: {
  custom: {
    50: '#d47593',
    500: '#ba3168',
    950: '#000000',
  },
}
SCSS
$custom: #ba3168;
$custom-light: #d47593;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3168",
  "rgb": {
    "r": 186,
    "g": 49,
    "b": 104
  },
  "hsl": {
    "h": 335.912,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53799,
    "c": 0.17789,
    "h": 0.9
  },
  "luminance": 0.13635
}

Semantic roles & 50–950 ramp

primary
#BA3168
secondary
#7EC9AB
accent
#E2A346
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BA3168

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

Preview Lab → · Contrast checker → · Palette generator →

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