#BA3974#BA3974

#BA3974 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.0% C 0.173 H 356.4°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#BA3974
RGBrgb(186, 57, 116)
HSLhsl(333, 53%, 48%)
HSVhsv(333, 69%, 73%)
CMYKcmyk(0%, 69.4%, 37.6%, 27.1%)
CIE-LABlab(45.12, 56.33, -4.45)
CIE-LCHlch(45.12, 56.51, 355.48°)
OKLaboklab(54.96% 0.1726 -0.011)
OKLCHoklch(54.96% 0.173 356.4)
XYZxyz(24.8668, 14.6293, 18.0338)
Luminance0.1463 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3974 #39BA7F
analogous
#BA39B4 #BA3974 #BA3F39
triadic
#BA3974 #74BA39 #3974BA
tetradic
#BA3974 #B4BA39 #39BA7F #3F39BA
square
#BA3974 #B4BA39 #39BA7F #3F39BA
split-complementary
#BA3974 #39BA3F #39B4BA
monochromatic
#5C1C3A #8B2B57 #BA3974 #CF6193 #DD90B3

Accessibility & contrast

On white

5.35
#BA3974 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#BA3974 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3974
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3974#FFFFFF#000000##FFFFFF
##BA39741.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515B76
Deuteranopia (green-blind)
#747471
Tritanopia (blue-blind)
#C92C52
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba3974;
/* rgb */ color: rgb(186, 57, 116);
/* oklch */ color: oklch(55.0% 0.173 356.4);
Tailwind
colors: {
  custom: {
    50: '#d3799c',
    500: '#ba3974',
    950: '#000000',
  },
}
SCSS
$custom: #ba3974;
$custom-light: #d3799c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3974",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 116
  },
  "hsl": {
    "h": 332.558,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54962,
    "c": 0.17292,
    "h": 356.4
  },
  "luminance": 0.14626
}

Semantic roles & 50–950 ramp

primary
#BA3974
secondary
#87C8AA
accent
#DC9A4B
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA3974

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

Preview Lab → · Contrast checker → · Palette generator →

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