#BA3162#BA3162

#BA3162 is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.6% C 0.176 H 3.8°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#BA3162
RGBrgb(186, 49, 98)
HSLhsl(339, 58%, 46%)
HSVhsv(339, 74%, 73%)
CMYKcmyk(0%, 73.7%, 47.3%, 27.1%)
CIE-LABlab(43.54, 57.43, 4.37)
CIE-LCHlch(43.54, 57.60, 4.35°)
OKLaboklab(53.62% 0.1758 0.0118)
OKLCHoklch(53.62% 0.176 3.8)
XYZxyz(23.5546, 13.5207, 12.9223)
Luminance0.1352 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3162 #31BA89
analogous
#BA31A6 #BA3162 #BA4431
triadic
#BA3162 #62BA31 #3162BA
tetradic
#BA3162 #A6BA31 #31BA89 #4431BA
square
#BA3162 #A6BA31 #31BA89 #4431BA
split-complementary
#BA3162 #31BA44 #31A6BA
monochromatic
#59172F #8A2448 #BA3162 #D25682 #DF86A6

Accessibility & contrast

On white

5.67
#BA3162 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#BA3162 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3162
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3162#FFFFFF#000000##FFFFFF
##BA31621.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515663
Deuteranopia (green-blind)
#75715F
Tritanopia (blue-blind)
#CA1646
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba3162;
/* rgb */ color: rgb(186, 49, 98);
/* oklch */ color: oklch(53.6% 0.176 3.8);
Tailwind
colors: {
  custom: {
    50: '#d4758e',
    500: '#ba3162',
    950: '#000000',
  },
}
SCSS
$custom: #ba3162;
$custom-light: #d4758e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3162",
  "rgb": {
    "r": 186,
    "g": 49,
    "b": 98
  },
  "hsl": {
    "h": 338.54,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53616,
    "c": 0.17616,
    "h": 3.8
  },
  "luminance": 0.13518
}

Semantic roles & 50–950 ramp

primary
#BA3162
secondary
#7EC9AE
accent
#E2AA46
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BA3162

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

Preview Lab → · Contrast checker → · Palette generator →

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