#BA3566#BA3566

#BA3566 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.1% C 0.173 H 2.6°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#BA3566
RGBrgb(186, 53, 102)
HSLhsl(338, 56%, 47%)
HSVhsv(338, 72%, 73%)
CMYKcmyk(0%, 71.5%, 45.2%, 27.1%)
CIE-LABlab(44.16, 56.39, 2.77)
CIE-LCHlch(44.16, 56.46, 2.82°)
OKLaboklab(54.11% 0.1727 0.0078)
OKLCHoklch(54.11% 0.173 2.6)
XYZxyz(23.9229, 13.9477, 14.0002)
Luminance0.1394 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3566 #35BA89
analogous
#BA35A9 #BA3566 #BA4735
triadic
#BA3566 #66BA35 #3566BA
tetradic
#BA3566 #A9BA35 #35BA89 #4735BA
square
#BA3566 #A9BA35 #35BA89 #4735BA
split-complementary
#BA3566 #35BA47 #35A9BA
monochromatic
#5B1A32 #8A274C #BA3566 #D05C87 #DE8BAA

Accessibility & contrast

On white

5.54
#BA3566 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#BA3566 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3566
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3566#FFFFFF#000000##FFFFFF
##BA35661.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525867
Deuteranopia (green-blind)
#767263
Tritanopia (blue-blind)
#CA2049
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba3566;
/* rgb */ color: rgb(186, 53, 102);
/* oklch */ color: oklch(54.1% 0.173 2.6);
Tailwind
colors: {
  custom: {
    50: '#d47791',
    500: '#ba3566',
    950: '#000000',
  },
}
SCSS
$custom: #ba3566;
$custom-light: #d47791;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3566",
  "rgb": {
    "r": 186,
    "g": 53,
    "b": 102
  },
  "hsl": {
    "h": 337.895,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54111,
    "c": 0.17283,
    "h": 2.6
  },
  "luminance": 0.13945
}

Semantic roles & 50–950 ramp

primary
#BA3566
secondary
#82C8AF
accent
#DFA849
background
#FDF7F8
surface
#FBEEF0
border
#D4C9CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BA3566

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

Preview Lab → · Contrast checker → · Palette generator →

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