#BA3166#BA3166

#BA3166 is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.7% C 0.177 H 1.9°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#BA3166
RGBrgb(186, 49, 102)
HSLhsl(337, 58%, 46%)
HSVhsv(337, 74%, 73%)
CMYKcmyk(0%, 73.7%, 45.2%, 27.1%)
CIE-LABlab(43.65, 57.80, 2.04)
CIE-LCHlch(43.65, 57.84, 2.02°)
OKLaboklab(53.74% 0.1772 0.0059)
OKLCHoklch(53.74% 0.177 1.9)
XYZxyz(23.7482, 13.5981, 13.9419)
Luminance0.1359 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3166 #31BA85
analogous
#BA31AA #BA3166 #BA4031
triadic
#BA3166 #66BA31 #3166BA
tetradic
#BA3166 #AABA31 #31BA85 #4031BA
square
#BA3166 #AABA31 #31BA85 #4031BA
split-complementary
#BA3166 #31BA40 #31AABA
monochromatic
#591731 #8A244B #BA3166 #D25686 #DF86A9

Accessibility & contrast

On white

5.65
#BA3166 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA3166
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3166#FFFFFF#000000##FFFFFF
##BA31661.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505667
Deuteranopia (green-blind)
#757163
Tritanopia (blue-blind)
#CA1948
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba3166;
/* rgb */ color: rgb(186, 49, 102);
/* oklch */ color: oklch(53.7% 0.177 1.9);
Tailwind
colors: {
  custom: {
    50: '#d47591',
    500: '#ba3166',
    950: '#000000',
  },
}
SCSS
$custom: #ba3166;
$custom-light: #d47591;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3166",
  "rgb": {
    "r": 186,
    "g": 49,
    "b": 102
  },
  "hsl": {
    "h": 336.788,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53737,
    "c": 0.17728,
    "h": 1.9
  },
  "luminance": 0.13595
}

Semantic roles & 50–950 ramp

primary
#BA3166
secondary
#7EC9AC
accent
#E2A546
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BA3166

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

Preview Lab → · Contrast checker → · Palette generator →

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