#BA378E#BA378E

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

Color values

HEX#BA378E
RGBrgb(186, 55, 142)
HSLhsl(320, 54%, 47%)
HSVhsv(320, 70%, 73%)
CMYKcmyk(0%, 70.4%, 23.7%, 27.1%)
CIE-LABlab(45.81, 60.23, -19.26)
CIE-LCHlch(45.81, 63.23, 342.27°)
OKLaboklab(55.78% 0.1817 -0.0513)
OKLCHoklch(55.78% 0.189 344.2)
XYZxyz(26.4994, 15.1272, 27.1102)
Luminance0.1512 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA378E #37BA63
analogous
#A537BA #BA378E #BA374C
triadic
#BA378E #8EBA37 #378EBA
tetradic
#BA378E #BAA537 #37BA63 #374CBA
square
#BA378E #BAA537 #37BA63 #374CBA
split-complementary
#BA378E #4CBA37 #37BAA5
monochromatic
#5C1B46 #8B296A #BA378E #D05FAA #DE8EC3

Accessibility & contrast

On white

5.22
#BA378E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA378E
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA378E#FFFFFF#000000##FFFFFF
##BA378E1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455E90
Deuteranopia (green-blind)
#6D748B
Tritanopia (blue-blind)
#C6365E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba378e;
/* rgb */ color: rgb(186, 55, 142);
/* oklch */ color: oklch(55.8% 0.189 344.2);
Tailwind
colors: {
  custom: {
    50: '#d379af',
    500: '#ba378e',
    950: '#000000',
  },
}
SCSS
$custom: #ba378e;
$custom-light: #d379af;
$custom-dark: #000000;
JSON
{
  "hex": "#ba378e",
  "rgb": {
    "r": 186,
    "g": 55,
    "b": 142
  },
  "hsl": {
    "h": 320.153,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55777,
    "c": 0.18876,
    "h": 344.2
  },
  "luminance": 0.15124
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA378E

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

Preview Lab → · Contrast checker → · Palette generator →

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