#BA3A62#BA3A62

#BA3A62 is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.5% C 0.166 H 5.6°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#BA3A62
RGBrgb(186, 58, 98)
HSLhsl(341, 52%, 48%)
HSVhsv(341, 69%, 73%)
CMYKcmyk(0%, 68.8%, 47.3%, 27.1%)
CIE-LABlab(44.73, 54.12, 6.07)
CIE-LCHlch(44.73, 54.46, 6.40°)
OKLaboklab(54.5% 0.1652 0.0161)
OKLCHoklch(54.5% 0.166 5.6)
XYZxyz(23.9693, 14.3501, 13.0606)
Luminance0.1435 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3A62 #3ABA92
analogous
#BA3AA2 #BA3A62 #BA523A
triadic
#BA3A62 #62BA3A #3A62BA
tetradic
#BA3A62 #A2BA3A #3ABA92 #523ABA
square
#BA3A62 #A2BA3A #3ABA92 #523ABA
split-complementary
#BA3A62 #3ABA52 #3AA2BA
monochromatic
#5D1D31 #8B2B49 #BA3A62 #CE6384 #DD92A9

Accessibility & contrast

On white

5.43
#BA3A62 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#BA3A62 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3A62
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3A62#FFFFFF#000000##FFFFFF
##BA3A621.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575A63
Deuteranopia (green-blind)
#78735F
Tritanopia (blue-blind)
#CA254A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba3a62;
/* rgb */ color: rgb(186, 58, 98);
/* oklch */ color: oklch(54.5% 0.166 5.6);
Tailwind
colors: {
  custom: {
    50: '#d4798e',
    500: '#ba3a62',
    950: '#000000',
  },
}
SCSS
$custom: #ba3a62;
$custom-light: #d4798e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3a62",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 98
  },
  "hsl": {
    "h": 341.25,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54499,
    "c": 0.16596,
    "h": 5.6
  },
  "luminance": 0.14347
}

Semantic roles & 50–950 ramp

primary
#BA3A62
secondary
#88C8B4
accent
#DCAF4C
background
#FDF7F8
surface
#FBEEF0
border
#D4C9CB
text
#150A0C
muted
#837C7D

Preview Lab

Preview with #BA3A62

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

Preview Lab → · Contrast checker → · Palette generator →

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