#BA3B5D#BA3B5D

#BA3B5D is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.5% C 0.164 H 8.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#BA3B5D
RGBrgb(186, 59, 93)
HSLhsl(344, 52%, 48%)
HSVhsv(344, 68%, 73%)
CMYKcmyk(0%, 68.3%, 50%, 27.1%)
CIE-LABlab(44.75, 53.28, 9.18)
CIE-LCHlch(44.75, 54.06, 9.78°)
OKLaboklab(54.47% 0.162 0.0237)
OKLCHoklch(54.47% 0.164 8.3)
XYZxyz(23.7914, 14.3604, 11.8728)
Luminance0.1436 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3B5D #3BBA98
analogous
#BA3B9C #BA3B5D #BA583B
triadic
#BA3B5D #5DBA3B #3B5DBA
tetradic
#BA3B5D #9CBA3B #3BBA98 #583BBA
square
#BA3B5D #9CBA3B #3BBA98 #583BBA
split-complementary
#BA3B5D #3BBA58 #3B9CBA
monochromatic
#5D1E2F #8C2C46 #BA3B5D #CE6481 #DD93A7

Accessibility & contrast

On white

5.42
#BA3B5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA3B5D
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3B5D#FFFFFF#000000##FFFFFF
##BA3B5D1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585A5E
Deuteranopia (green-blind)
#7A735A
Tritanopia (blue-blind)
#CA2549
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba3b5d;
/* rgb */ color: rgb(186, 59, 93);
/* oklch */ color: oklch(54.5% 0.164 8.3);
Tailwind
colors: {
  custom: {
    50: '#d4798a',
    500: '#ba3b5d',
    950: '#000000',
  },
}
SCSS
$custom: #ba3b5d;
$custom-light: #d4798a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3b5d",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 93
  },
  "hsl": {
    "h": 343.937,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54467,
    "c": 0.16377,
    "h": 8.3
  },
  "luminance": 0.14357
}

Semantic roles & 50–950 ramp

primary
#BA3B5D
secondary
#89C8B7
accent
#DBB54D
background
#FDF7F8
surface
#FBEEF0
border
#D4C9CB
text
#150A0B
muted
#837C7C

Preview Lab

Preview with #BA3B5D

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

Preview Lab → · Contrast checker → · Palette generator →

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