#BA3B5E#BA3B5E

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

Color values

HEX#BA3B5E
RGBrgb(186, 59, 94)
HSLhsl(343, 52%, 48%)
HSVhsv(343, 68%, 73%)
CMYKcmyk(0%, 68.3%, 49.5%, 27.1%)
CIE-LABlab(44.77, 53.37, 8.60)
CIE-LCHlch(44.77, 54.05, 9.16°)
OKLaboklab(54.49% 0.1624 0.0223)
OKLCHoklch(54.49% 0.164 7.8)
XYZxyz(23.8360, 14.3783, 12.1076)
Luminance0.1437 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3B5E #3BBA97
analogous
#BA3B9D #BA3B5E #BA583B
triadic
#BA3B5E #5EBA3B #3B5EBA
tetradic
#BA3B5E #9DBA3B #3BBA97 #583BBA
square
#BA3B5E #9DBA3B #3BBA97 #583BBA
split-complementary
#BA3B5E #3BBA58 #3B9DBA
monochromatic
#5D1E2F #8C2C47 #BA3B5E #CE6481 #DD93A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3B5E#FFFFFF#000000##FFFFFF
##BA3B5E1.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)
#585A5F
Deuteranopia (green-blind)
#79735B
Tritanopia (blue-blind)
#CA2549
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba3b5e;
/* rgb */ color: rgb(186, 59, 94);
/* oklch */ color: oklch(54.5% 0.164 7.8);
Tailwind
colors: {
  custom: {
    50: '#d4798b',
    500: '#ba3b5e',
    950: '#000000',
  },
}
SCSS
$custom: #ba3b5e;
$custom-light: #d4798b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3b5e",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 94
  },
  "hsl": {
    "h": 343.465,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54494,
    "c": 0.16395,
    "h": 7.8
  },
  "luminance": 0.14375
}

Semantic roles & 50–950 ramp

primary
#BA3B5E
secondary
#89C8B7
accent
#DBB44D
background
#FDF7F8
surface
#FBEEF0
border
#D4C9CB
text
#150A0C
muted
#837C7D

Preview Lab

Preview with #BA3B5E

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

Preview Lab → · Contrast checker → · Palette generator →

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