#BA3562#BA3562

#BA3562 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.0% C 0.172 H 4.5°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#BA3562
RGBrgb(186, 53, 98)
HSLhsl(340, 56%, 47%)
HSVhsv(340, 72%, 73%)
CMYKcmyk(0%, 71.5%, 47.3%, 27.1%)
CIE-LABlab(44.05, 56.02, 5.09)
CIE-LCHlch(44.05, 56.25, 5.20°)
OKLaboklab(53.99% 0.1712 0.0136)
OKLCHoklch(53.99% 0.172 4.5)
XYZxyz(23.7293, 13.8703, 12.9806)
Luminance0.1387 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3562 #35BA8D
analogous
#BA35A5 #BA3562 #BA4A35
triadic
#BA3562 #62BA35 #3562BA
tetradic
#BA3562 #A5BA35 #35BA8D #4A35BA
square
#BA3562 #A5BA35 #35BA8D #4A35BA
split-complementary
#BA3562 #35BA4A #35A5BA
monochromatic
#5B1A30 #8A2749 #BA3562 #D05C83 #DE8BA7

Accessibility & contrast

On white

5.57
#BA3562 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#BA3562 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3562
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3562#FFFFFF#000000##FFFFFF
##BA35621.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535763
Deuteranopia (green-blind)
#77725F
Tritanopia (blue-blind)
#CA1E48
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba3562;
/* rgb */ color: rgb(186, 53, 98);
/* oklch */ color: oklch(54.0% 0.172 4.5);
Tailwind
colors: {
  custom: {
    50: '#d4768e',
    500: '#ba3562',
    950: '#000000',
  },
}
SCSS
$custom: #ba3562;
$custom-light: #d4768e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3562",
  "rgb": {
    "r": 186,
    "g": 53,
    "b": 98
  },
  "hsl": {
    "h": 339.699,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53992,
    "c": 0.17177,
    "h": 4.5
  },
  "luminance": 0.13867
}

Semantic roles & 50–950 ramp

primary
#BA3562
secondary
#82C8B1
accent
#DFAC49
background
#FDF7F8
surface
#FBEEF0
border
#D4C9CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BA3562

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

Preview Lab → · Contrast checker → · Palette generator →

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