#BA3281#BA3281

#BA3281 is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.8% C 0.187 H 349.5°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#BA3281
RGBrgb(186, 50, 129)
HSLhsl(325, 58%, 46%)
HSVhsv(325, 73%, 73%)
CMYKcmyk(0%, 73.1%, 30.6%, 27.1%)
CIE-LABlab(44.67, 60.35, -13.09)
CIE-LCHlch(44.67, 61.75, 347.76°)
OKLaboklab(54.78% 0.1842 -0.0342)
OKLCHoklch(54.78% 0.187 349.5)
XYZxyz(25.3541, 14.3082, 22.1912)
Luminance0.1431 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3281 #32BA6B
analogous
#AF32BA #BA3281 #BA323D
triadic
#BA3281 #81BA32 #3281BA
tetradic
#BA3281 #BAAF32 #32BA6B #323DBA
square
#BA3281 #BAAF32 #32BA6B #323DBA
split-complementary
#BA3281 #3DBA32 #32BAAF
monochromatic
#5A183E #8A2560 #BA3281 #D2579F #DF88BA

Accessibility & contrast

On white

5.44
#BA3281 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#BA3281 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3281
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3281#FFFFFF#000000##FFFFFF
##BA32811.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475A83
Deuteranopia (green-blind)
#6F727E
Tritanopia (blue-blind)
#C82A55
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba3281;
/* rgb */ color: rgb(186, 50, 129);
/* oklch */ color: oklch(54.8% 0.187 349.5);
Tailwind
colors: {
  custom: {
    50: '#d376a5',
    500: '#ba3281',
    950: '#000000',
  },
}
SCSS
$custom: #ba3281;
$custom-light: #d376a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3281",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 129
  },
  "hsl": {
    "h": 325.147,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5478,
    "c": 0.18734,
    "h": 349.5
  },
  "luminance": 0.14305
}

Semantic roles & 50–950 ramp

primary
#BA3281
secondary
#7FC99E
accent
#E18747
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#15090F
muted
#837B7F

Preview Lab

Preview with #BA3281

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

Preview Lab → · Contrast checker → · Palette generator →

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