#BA378D#BA378D

#BA378D is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.7% C 0.188 H 344.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#BA378D
RGBrgb(186, 55, 141)
HSLhsl(321, 54%, 47%)
HSVhsv(321, 70%, 73%)
CMYKcmyk(0%, 70.4%, 24.2%, 27.1%)
CIE-LABlab(45.77, 60.09, -18.71)
CIE-LCHlch(45.77, 62.94, 342.70°)
OKLaboklab(55.73% 0.1814 -0.0498)
OKLCHoklch(55.73% 0.188 344.6)
XYZxyz(26.4246, 15.0973, 26.7166)
Luminance0.1510 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA378D #37BA64
analogous
#A637BA #BA378D #BA374B
triadic
#BA378D #8DBA37 #378DBA
tetradic
#BA378D #BAA637 #37BA64 #374BBA
square
#BA378D #BAA637 #37BA64 #374BBA
split-complementary
#BA378D #4BBA37 #37BAA6
monochromatic
#5C1B45 #8B2969 #BA378D #D05FA9 #DE8EC2

Accessibility & contrast

On white

5.23
#BA378D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#BA378D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA378D
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA378D#FFFFFF#000000##FFFFFF
##BA378D1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465E8F
Deuteranopia (green-blind)
#6D748A
Tritanopia (blue-blind)
#C6365D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba378d;
/* rgb */ color: rgb(186, 55, 141);
/* oklch */ color: oklch(55.7% 0.188 344.6);
Tailwind
colors: {
  custom: {
    50: '#d379ae',
    500: '#ba378d',
    950: '#000000',
  },
}
SCSS
$custom: #ba378d;
$custom-light: #d379ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ba378d",
  "rgb": {
    "r": 186,
    "g": 55,
    "b": 141
  },
  "hsl": {
    "h": 320.611,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55734,
    "c": 0.18815,
    "h": 344.6
  },
  "luminance": 0.15095
}

Semantic roles & 50–950 ramp

primary
#BA378D
secondary
#85C89C
accent
#DE7D4A
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA378D

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

Preview Lab → · Contrast checker → · Palette generator →

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