#BA3274#BA3274

#BA3274 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.3% C 0.181 H 355.4°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#BA3274
RGBrgb(186, 50, 116)
HSLhsl(331, 58%, 46%)
HSVhsv(331, 73%, 73%)
CMYKcmyk(0%, 73.1%, 37.6%, 27.1%)
CIE-LABlab(44.21, 58.87, -5.80)
CIE-LCHlch(44.21, 59.16, 354.37°)
OKLaboklab(54.29% 0.1806 -0.0146)
OKLCHoklch(54.29% 0.181 355.4)
XYZxyz(24.5443, 13.9843, 17.9263)
Luminance0.1398 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3274 #32BA78
analogous
#BA32B8 #BA3274 #BA3432
triadic
#BA3274 #74BA32 #3274BA
tetradic
#BA3274 #B8BA32 #32BA78 #3432BA
square
#BA3274 #B8BA32 #32BA78 #3432BA
split-complementary
#BA3274 #32BA34 #32B8BA
monochromatic
#5A1838 #8A2556 #BA3274 #D25793 #DF88B2

Accessibility & contrast

On white

5.53
#BA3274 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#BA3274 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3274
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3274#FFFFFF#000000##FFFFFF
##BA32741.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5876
Deuteranopia (green-blind)
#727271
Tritanopia (blue-blind)
#C9234F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba3274;
/* rgb */ color: rgb(186, 50, 116);
/* oklch */ color: oklch(54.3% 0.181 355.4);
Tailwind
colors: {
  custom: {
    50: '#d4769c',
    500: '#ba3274',
    950: '#000000',
  },
}
SCSS
$custom: #ba3274;
$custom-light: #d4769c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3274",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 116
  },
  "hsl": {
    "h": 330.882,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54291,
    "c": 0.18121,
    "h": 355.4
  },
  "luminance": 0.13981
}

Semantic roles & 50–950 ramp

primary
#BA3274
secondary
#7FC9A5
accent
#E19647
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA3274

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

Preview Lab → · Contrast checker → · Palette generator →

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