#BA3277#BA3277

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

Color values

HEX#BA3277
RGBrgb(186, 50, 119)
HSLhsl(330, 58%, 46%)
HSVhsv(330, 73%, 73%)
CMYKcmyk(0%, 73.1%, 36%, 27.1%)
CIE-LABlab(44.31, 59.20, -7.50)
CIE-LCHlch(44.31, 59.67, 352.78°)
OKLaboklab(54.4% 0.1815 -0.0191)
OKLCHoklch(54.4% 0.183 354)
XYZxyz(24.7216, 14.0552, 18.8602)
Luminance0.1405 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3277 #32BA75
analogous
#B932BA #BA3277 #BA3233
triadic
#BA3277 #77BA32 #3277BA
tetradic
#BA3277 #BAB932 #32BA75 #3233BA
square
#BA3277 #BAB932 #32BA75 #3233BA
split-complementary
#BA3277 #33BA32 #32BAB9
monochromatic
#5A1839 #8A2558 #BA3277 #D25796 #DF88B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3277#FFFFFF#000000##FFFFFF
##BA32771.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)
#4B5979
Deuteranopia (green-blind)
#717274
Tritanopia (blue-blind)
#C92550
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba3277;
/* rgb */ color: rgb(186, 50, 119);
/* oklch */ color: oklch(54.4% 0.182 354.0);
Tailwind
colors: {
  custom: {
    50: '#d3769e',
    500: '#ba3277',
    950: '#000000',
  },
}
SCSS
$custom: #ba3277;
$custom-light: #d3769e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3277",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 119
  },
  "hsl": {
    "h": 329.559,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54399,
    "c": 0.1825,
    "h": 354
  },
  "luminance": 0.14052
}

Semantic roles & 50–950 ramp

primary
#BA3277
secondary
#7FC9A3
accent
#E19347
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA3277

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

Preview Lab → · Contrast checker → · Palette generator →

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