#BA3180#BA3180

#BA3180 is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.7% C 0.188 H 349.8°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#BA3180
RGBrgb(186, 49, 128)
HSLhsl(325, 58%, 46%)
HSVhsv(325, 74%, 73%)
CMYKcmyk(0%, 73.7%, 31.2%, 27.1%)
CIE-LABlab(44.51, 60.57, -12.72)
CIE-LCHlch(44.51, 61.89, 348.14°)
OKLaboklab(54.65% 0.185 -0.0332)
OKLCHoklch(54.65% 0.188 349.8)
XYZxyz(25.2456, 14.1971, 21.8287)
Luminance0.1419 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3180 #31BA6B
analogous
#AF31BA #BA3180 #BA313C
triadic
#BA3180 #80BA31 #3180BA
tetradic
#BA3180 #BAAF31 #31BA6B #313CBA
square
#BA3180 #BAAF31 #31BA6B #313CBA
split-complementary
#BA3180 #3CBA31 #31BAAF
monochromatic
#59173D #8A245F #BA3180 #D2569E #DF86BA

Accessibility & contrast

On white

5.47
#BA3180 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#BA3180 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3180
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3180#FFFFFF#000000##FFFFFF
##BA31801.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475A82
Deuteranopia (green-blind)
#6F727D
Tritanopia (blue-blind)
#C82954
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba3180;
/* rgb */ color: rgb(186, 49, 128);
/* oklch */ color: oklch(54.7% 0.188 349.8);
Tailwind
colors: {
  custom: {
    50: '#d376a4',
    500: '#ba3180',
    950: '#000000',
  },
}
SCSS
$custom: #ba3180;
$custom-light: #d376a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3180",
  "rgb": {
    "r": 186,
    "g": 49,
    "b": 128
  },
  "hsl": {
    "h": 325.401,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54653,
    "c": 0.18795,
    "h": 349.8
  },
  "luminance": 0.14194
}

Semantic roles & 50–950 ramp

primary
#BA3180
secondary
#7EC99E
accent
#E28846
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#15090F
muted
#837B7F

Preview Lab

Preview with #BA3180

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

Preview Lab → · Contrast checker → · Palette generator →

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