#BA3B6E#BA3B6E

#BA3B6E is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.0% C 0.168 H 359.7°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#BA3B6E
RGBrgb(186, 59, 110)
HSLhsl(336, 52%, 48%)
HSVhsv(336, 68%, 73%)
CMYKcmyk(0%, 68.3%, 40.9%, 27.1%)
CIE-LABlab(45.21, 54.91, -0.63)
CIE-LCHlch(45.21, 54.92, 359.35°)
OKLaboklab(54.97% 0.1682 -0.001)
OKLCHoklch(54.97% 0.168 359.7)
XYZxyz(24.6298, 14.6958, 16.2884)
Luminance0.1469 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3B6E #3BBA87
analogous
#BA3BAD #BA3B6E #BA483B
triadic
#BA3B6E #6EBA3B #3B6EBA
tetradic
#BA3B6E #ADBA3B #3BBA87 #483BBA
square
#BA3B6E #ADBA3B #3BBA87 #483BBA
split-complementary
#BA3B6E #3BBA48 #3BADBA
monochromatic
#5D1E37 #8C2C53 #BA3B6E #CE648F #DD93B0

Accessibility & contrast

On white

5.33
#BA3B6E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#BA3B6E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3B6E
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3B6E#FFFFFF#000000##FFFFFF
##BA3B6E1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545C6F
Deuteranopia (green-blind)
#76746B
Tritanopia (blue-blind)
#C92C50
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba3b6e;
/* rgb */ color: rgb(186, 59, 110);
/* oklch */ color: oklch(55.0% 0.168 359.7);
Tailwind
colors: {
  custom: {
    50: '#d37a97',
    500: '#ba3b6e',
    950: '#000000',
  },
}
SCSS
$custom: #ba3b6e;
$custom-light: #d37a97;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3b6e",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 110
  },
  "hsl": {
    "h": 335.906,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54969,
    "c": 0.16817,
    "h": 359.7
  },
  "luminance": 0.14693
}

Semantic roles & 50–950 ramp

primary
#BA3B6E
secondary
#89C8AF
accent
#DBA24D
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0D
muted
#837C7E

Preview Lab

Preview with #BA3B6E

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

Preview Lab → · Contrast checker → · Palette generator →

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