#BA3B6C#BA3B6C

#BA3B6C is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.9% C 0.168 H 0.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#BA3B6C
RGBrgb(186, 59, 108)
HSLhsl(337, 52%, 48%)
HSVhsv(337, 68%, 73%)
CMYKcmyk(0%, 68.3%, 41.9%, 27.1%)
CIE-LABlab(45.15, 54.71, 0.52)
CIE-LCHlch(45.15, 54.71, 0.54°)
OKLaboklab(54.91% 0.1675 0.002)
OKLCHoklch(54.91% 0.168 0.7)
XYZxyz(24.5222, 14.6527, 15.7214)
Luminance0.1465 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3B6C #3BBA89
analogous
#BA3BAC #BA3B6C #BA493B
triadic
#BA3B6C #6CBA3B #3B6CBA
tetradic
#BA3B6C #ACBA3B #3BBA89 #493BBA
square
#BA3B6C #ACBA3B #3BBA89 #493BBA
split-complementary
#BA3B6C #3BBA49 #3BACBA
monochromatic
#5D1E36 #8C2C51 #BA3B6C #CE648D #DD93AF

Accessibility & contrast

On white

5.34
#BA3B6C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#BA3B6C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3B6C
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3B6C#FFFFFF#000000##FFFFFF
##BA3B6C1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555B6D
Deuteranopia (green-blind)
#777469
Tritanopia (blue-blind)
#C92B4F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba3b6c;
/* rgb */ color: rgb(186, 59, 108);
/* oklch */ color: oklch(54.9% 0.168 0.7);
Tailwind
colors: {
  custom: {
    50: '#d47a96',
    500: '#ba3b6c',
    950: '#000000',
  },
}
SCSS
$custom: #ba3b6c;
$custom-light: #d47a96;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3b6c",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 108
  },
  "hsl": {
    "h": 336.85,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54905,
    "c": 0.1675,
    "h": 0.7
  },
  "luminance": 0.1465
}

Semantic roles & 50–950 ramp

primary
#BA3B6C
secondary
#89C8B0
accent
#DBA44D
background
#FDF7F9
surface
#FBEEF1
border
#D4C9CB
text
#150A0D
muted
#837C7E

Preview Lab

Preview with #BA3B6C

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

Preview Lab → · Contrast checker → · Palette generator →

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