#BA3081#BA3081

#BA3081 is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.6% C 0.190 H 349.3°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#BA3081
RGBrgb(186, 48, 129)
HSLhsl(325, 59%, 46%)
HSVhsv(325, 74%, 73%)
CMYKcmyk(0%, 74.2%, 30.6%, 27.1%)
CIE-LABlab(44.43, 61.02, -13.45)
CIE-LCHlch(44.43, 62.48, 347.57°)
OKLaboklab(54.61% 0.1863 -0.0352)
OKLCHoklch(54.61% 0.19 349.3)
XYZxyz(25.2704, 14.1409, 22.1633)
Luminance0.1414 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3081 #30BA69
analogous
#AE30BA #BA3081 #BA303C
triadic
#BA3081 #81BA30 #3081BA
tetradic
#BA3081 #BAAE30 #30BA69 #303CBA
square
#BA3081 #BAAE30 #30BA69 #303CBA
split-complementary
#BA3081 #3CBA30 #30BAAE
monochromatic
#59173E #89235F #BA3081 #D3549F #DF85BA

Accessibility & contrast

On white

5.49
#BA3081 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#BA3081 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3081
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3081#FFFFFF#000000##FFFFFF
##BA30811.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465A83
Deuteranopia (green-blind)
#6E727E
Tritanopia (blue-blind)
#C82854
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba3081;
/* rgb */ color: rgb(186, 48, 129);
/* oklch */ color: oklch(54.6% 0.190 349.3);
Tailwind
colors: {
  custom: {
    50: '#d375a5',
    500: '#ba3081',
    950: '#000000',
  },
}
SCSS
$custom: #ba3081;
$custom-light: #d375a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3081",
  "rgb": {
    "r": 186,
    "g": 48,
    "b": 129
  },
  "hsl": {
    "h": 324.783,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54607,
    "c": 0.18957,
    "h": 349.3
  },
  "luminance": 0.14138
}

Semantic roles & 50–950 ramp

primary
#BA3081
secondary
#7DC99C
accent
#E28646
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#15090F
muted
#837B7F

Preview Lab

Preview with #BA3081

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

Preview Lab → · Contrast checker → · Palette generator →

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