#BA3774#BA3774

#BA3774 is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.8% C 0.175 H 356.1°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#BA3774
RGBrgb(186, 55, 116)
HSLhsl(332, 54%, 47%)
HSVhsv(332, 70%, 73%)
CMYKcmyk(0%, 70.4%, 37.6%, 27.1%)
CIE-LABlab(44.85, 57.08, -4.85)
CIE-LCHlch(44.85, 57.29, 355.14°)
OKLaboklab(54.76% 0.175 -0.012)
OKLCHoklch(54.76% 0.175 356.1)
XYZxyz(24.7699, 14.4354, 18.0015)
Luminance0.1443 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3774 #37BA7D
analogous
#BA37B6 #BA3774 #BA3B37
triadic
#BA3774 #74BA37 #3774BA
tetradic
#BA3774 #B6BA37 #37BA7D #3B37BA
square
#BA3774 #B6BA37 #37BA7D #3B37BA
split-complementary
#BA3774 #37BA3B #37B6BA
monochromatic
#5C1B39 #8B2957 #BA3774 #D05F93 #DE8EB3

Accessibility & contrast

On white

5.40
#BA3774 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#BA3774 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3774
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3774#FFFFFF#000000##FFFFFF
##BA37741.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505B76
Deuteranopia (green-blind)
#747371
Tritanopia (blue-blind)
#C92A51
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba3774;
/* rgb */ color: rgb(186, 55, 116);
/* oklch */ color: oklch(54.8% 0.175 356.1);
Tailwind
colors: {
  custom: {
    50: '#d3789c',
    500: '#ba3774',
    950: '#000000',
  },
}
SCSS
$custom: #ba3774;
$custom-light: #d3789c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3774",
  "rgb": {
    "r": 186,
    "g": 55,
    "b": 116
  },
  "hsl": {
    "h": 332.061,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54762,
    "c": 0.17537,
    "h": 356.1
  },
  "luminance": 0.14432
}

Semantic roles & 50–950 ramp

primary
#BA3774
secondary
#85C8A9
accent
#DE994A
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA3774

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

Preview Lab → · Contrast checker → · Palette generator →

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