#BA368B#BA368B

#BA368B is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.6% C 0.188 H 345.4°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#BA368B
RGBrgb(186, 54, 139)
HSLhsl(321, 55%, 47%)
HSVhsv(321, 71%, 73%)
CMYKcmyk(0%, 71%, 25.3%, 27.1%)
CIE-LABlab(45.56, 60.19, -17.82)
CIE-LCHlch(45.56, 62.78, 343.50°)
OKLaboklab(55.55% 0.1821 -0.0473)
OKLCHoklch(55.55% 0.188 345.4)
XYZxyz(26.2301, 14.9443, 25.9242)
Luminance0.1494 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA368B #36BA65
analogous
#A736BA #BA368B #BA3649
triadic
#BA368B #8BBA36 #368BBA
tetradic
#BA368B #BAA736 #36BA65 #3649BA
square
#BA368B #BAA736 #36BA65 #3649BA
split-complementary
#BA368B #49BA36 #36BAA7
monochromatic
#5B1A44 #8B2868 #BA368B #D05DA7 #DE8DC1

Accessibility & contrast

On white

5.27
#BA368B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#BA368B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA368B
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA368B#FFFFFF#000000##FFFFFF
##BA368B1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465E8D
Deuteranopia (green-blind)
#6D7488
Tritanopia (blue-blind)
#C6345C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba368b;
/* rgb */ color: rgb(186, 54, 139);
/* oklch */ color: oklch(55.6% 0.188 345.4);
Tailwind
colors: {
  custom: {
    50: '#d378ad',
    500: '#ba368b',
    950: '#000000',
  },
}
SCSS
$custom: #ba368b;
$custom-light: #d378ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ba368b",
  "rgb": {
    "r": 186,
    "g": 54,
    "b": 139
  },
  "hsl": {
    "h": 321.364,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55554,
    "c": 0.18818,
    "h": 345.4
  },
  "luminance": 0.14942
}

Semantic roles & 50–950 ramp

primary
#BA368B
secondary
#84C89C
accent
#DE7E49
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA368B

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

Preview Lab → · Contrast checker → · Palette generator →

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