#BA3071#BA3071

#BA3071 is a mid, vivid pink. Relative luminance 0.137; OKLCH L 54.0% C 0.182 H 356.5°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#BA3071
RGBrgb(186, 48, 113)
HSLhsl(332, 59%, 46%)
HSVhsv(332, 74%, 73%)
CMYKcmyk(0%, 74.2%, 39.2%, 27.1%)
CIE-LABlab(43.87, 59.23, -4.46)
CIE-LCHlch(43.87, 59.40, 355.70°)
OKLaboklab(54.01% 0.1819 -0.011)
OKLCHoklch(54.01% 0.182 356.5)
XYZxyz(24.2890, 13.7483, 16.9942)
Luminance0.1374 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3071 #30BA79
analogous
#BA30B6 #BA3071 #BA3430
triadic
#BA3071 #71BA30 #3071BA
tetradic
#BA3071 #B6BA30 #30BA79 #3430BA
square
#BA3071 #B6BA30 #30BA79 #3430BA
split-complementary
#BA3071 #30BA34 #30B6BA
monochromatic
#591736 #892353 #BA3071 #D35490 #DF85B0

Accessibility & contrast

On white

5.60
#BA3071 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#BA3071 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3071
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3071#FFFFFF#000000##FFFFFF
##BA30711.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5773
Deuteranopia (green-blind)
#72716E
Tritanopia (blue-blind)
#C91F4C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba3071;
/* rgb */ color: rgb(186, 48, 113);
/* oklch */ color: oklch(54.0% 0.182 356.5);
Tailwind
colors: {
  custom: {
    50: '#d47599',
    500: '#ba3071',
    950: '#000000',
  },
}
SCSS
$custom: #ba3071;
$custom-light: #d47599;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3071",
  "rgb": {
    "r": 186,
    "g": 48,
    "b": 113
  },
  "hsl": {
    "h": 331.739,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54009,
    "c": 0.1822,
    "h": 356.5
  },
  "luminance": 0.13745
}

Semantic roles & 50–950 ramp

primary
#BA3071
secondary
#7DC9A5
accent
#E29846
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA3071

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

Preview Lab → · Contrast checker → · Palette generator →

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