#BA358B#BA358B

#BA358B is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.5% C 0.189 H 345.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#BA358B
RGBrgb(186, 53, 139)
HSLhsl(321, 56%, 47%)
HSVhsv(321, 72%, 73%)
CMYKcmyk(0%, 71.5%, 25.3%, 27.1%)
CIE-LABlab(45.43, 60.55, -18.02)
CIE-LCHlch(45.43, 63.17, 343.43°)
OKLaboklab(55.46% 0.1832 -0.0479)
OKLCHoklch(55.46% 0.189 345.4)
XYZxyz(26.1841, 14.8522, 25.9089)
Luminance0.1485 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA358B #35BA64
analogous
#A735BA #BA358B #BA3549
triadic
#BA358B #8BBA35 #358BBA
tetradic
#BA358B #BAA735 #35BA64 #3549BA
square
#BA358B #BAA735 #35BA64 #3549BA
split-complementary
#BA358B #49BA35 #35BAA7
monochromatic
#5B1A44 #8A2767 #BA358B #D05CA7 #DE8BC1

Accessibility & contrast

On white

5.29
#BA358B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#BA358B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA358B
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA358B#FFFFFF#000000##FFFFFF
##BA358B1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455D8D
Deuteranopia (green-blind)
#6D7488
Tritanopia (blue-blind)
#C6335B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba358b;
/* rgb */ color: rgb(186, 53, 139);
/* oklch */ color: oklch(55.5% 0.189 345.4);
Tailwind
colors: {
  custom: {
    50: '#d378ad',
    500: '#ba358b',
    950: '#000000',
  },
}
SCSS
$custom: #ba358b;
$custom-light: #d378ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ba358b",
  "rgb": {
    "r": 186,
    "g": 53,
    "b": 139
  },
  "hsl": {
    "h": 321.203,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55462,
    "c": 0.18938,
    "h": 345.4
  },
  "luminance": 0.14849
}

Semantic roles & 50–950 ramp

primary
#BA358B
secondary
#82C89B
accent
#DF7E49
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA358B

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

Preview Lab → · Contrast checker → · Palette generator →

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