#BA3374#BA3374

#BA3374 is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.4% C 0.180 H 355.5°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#BA3374
RGBrgb(186, 51, 116)
HSLhsl(331, 57%, 46%)
HSVhsv(331, 73%, 73%)
CMYKcmyk(0%, 72.6%, 37.6%, 27.1%)
CIE-LABlab(44.33, 58.53, -5.62)
CIE-LCHlch(44.33, 58.80, 354.51°)
OKLaboklab(54.38% 0.1795 -0.0141)
OKLCHoklch(54.38% 0.18 355.5)
XYZxyz(24.5875, 14.0707, 17.9407)
Luminance0.1407 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3374 #33BA79
analogous
#BA33B8 #BA3374 #BA3633
triadic
#BA3374 #74BA33 #3374BA
tetradic
#BA3374 #B8BA33 #33BA79 #3633BA
square
#BA3374 #B8BA33 #33BA79 #3633BA
split-complementary
#BA3374 #33BA36 #33B8BA
monochromatic
#5A1938 #8A2656 #BA3374 #D15993 #DF89B2

Accessibility & contrast

On white

5.51
#BA3374 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#BA3374 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3374
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3374#FFFFFF#000000##FFFFFF
##BA33741.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5976
Deuteranopia (green-blind)
#727271
Tritanopia (blue-blind)
#C9254F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba3374;
/* rgb */ color: rgb(186, 51, 116);
/* oklch */ color: oklch(54.4% 0.180 355.5);
Tailwind
colors: {
  custom: {
    50: '#d4769c',
    500: '#ba3374',
    950: '#000000',
  },
}
SCSS
$custom: #ba3374;
$custom-light: #d4769c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3374",
  "rgb": {
    "r": 186,
    "g": 51,
    "b": 116
  },
  "hsl": {
    "h": 331.111,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54382,
    "c": 0.18007,
    "h": 355.5
  },
  "luminance": 0.14068
}

Semantic roles & 50–950 ramp

primary
#BA3374
secondary
#80C9A6
accent
#E09748
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA3374

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

Preview Lab → · Contrast checker → · Palette generator →

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