#BA378F#BA378F

#BA378F is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.8% C 0.189 H 343.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#BA378F
RGBrgb(186, 55, 143)
HSLhsl(320, 54%, 47%)
HSVhsv(320, 70%, 73%)
CMYKcmyk(0%, 70.4%, 23.1%, 27.1%)
CIE-LABlab(45.85, 60.36, -19.80)
CIE-LCHlch(45.85, 63.52, 341.84°)
OKLaboklab(55.82% 0.1819 -0.0528)
OKLCHoklch(55.82% 0.189 343.8)
XYZxyz(26.5748, 15.1574, 27.5074)
Luminance0.1515 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA378F #37BA62
analogous
#A437BA #BA378F #BA374D
triadic
#BA378F #8FBA37 #378FBA
tetradic
#BA378F #BAA437 #37BA62 #374DBA
square
#BA378F #BAA437 #37BA62 #374DBA
split-complementary
#BA378F #4DBA37 #37BAA4
monochromatic
#5C1B46 #8B296B #BA378F #D05FAB #DE8EC3

Accessibility & contrast

On white

5.21
#BA378F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#BA378F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA378F
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA378F#FFFFFF#000000##FFFFFF
##BA378F1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455F91
Deuteranopia (green-blind)
#6C748C
Tritanopia (blue-blind)
#C6375E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba378f;
/* rgb */ color: rgb(186, 55, 143);
/* oklch */ color: oklch(55.8% 0.189 343.8);
Tailwind
colors: {
  custom: {
    50: '#d379b0',
    500: '#ba378f',
    950: '#000000',
  },
}
SCSS
$custom: #ba378f;
$custom-light: #d379b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba378f",
  "rgb": {
    "r": 186,
    "g": 55,
    "b": 143
  },
  "hsl": {
    "h": 319.695,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5582,
    "c": 0.18937,
    "h": 343.8
  },
  "luminance": 0.15155
}

Semantic roles & 50–950 ramp

primary
#BA378F
secondary
#85C89B
accent
#DE7B4A
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA378F

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

Preview Lab → · Contrast checker → · Palette generator →

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