#BA378C#BA378C

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

Color values

HEX#BA378C
RGBrgb(186, 55, 140)
HSLhsl(321, 54%, 47%)
HSVhsv(321, 70%, 73%)
CMYKcmyk(0%, 70.4%, 24.7%, 27.1%)
CIE-LABlab(45.73, 59.96, -18.17)
CIE-LCHlch(45.73, 62.66, 343.14°)
OKLaboklab(55.69% 0.1812 -0.0483)
OKLCHoklch(55.69% 0.188 345.1)
XYZxyz(26.3506, 15.0677, 26.3265)
Luminance0.1507 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA378C #37BA65
analogous
#A737BA #BA378C #BA374A
triadic
#BA378C #8CBA37 #378CBA
tetradic
#BA378C #BAA737 #37BA65 #374ABA
square
#BA378C #BAA737 #37BA65 #374ABA
split-complementary
#BA378C #4ABA37 #37BAA7
monochromatic
#5C1B45 #8B2968 #BA378C #D05FA8 #DE8EC2

Accessibility & contrast

On white

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

On black

4.01
#BA378C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA378C#FFFFFF#000000##FFFFFF
##BA378C1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465E8E
Deuteranopia (green-blind)
#6D7489
Tritanopia (blue-blind)
#C6355D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba378c;
/* rgb */ color: rgb(186, 55, 140);
/* oklch */ color: oklch(55.7% 0.188 345.1);
Tailwind
colors: {
  custom: {
    50: '#d379ad',
    500: '#ba378c',
    950: '#000000',
  },
}
SCSS
$custom: #ba378c;
$custom-light: #d379ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ba378c",
  "rgb": {
    "r": 186,
    "g": 55,
    "b": 140
  },
  "hsl": {
    "h": 321.069,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55691,
    "c": 0.18756,
    "h": 345.1
  },
  "luminance": 0.15065
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA378C

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

Preview Lab → · Contrast checker → · Palette generator →

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