#BA3072#BA3072

#BA3072 is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.0% C 0.183 H 356.1°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#BA3072
RGBrgb(186, 48, 114)
HSLhsl(331, 59%, 46%)
HSVhsv(331, 74%, 73%)
CMYKcmyk(0%, 74.2%, 38.7%, 27.1%)
CIE-LABlab(43.90, 59.34, -5.03)
CIE-LCHlch(43.90, 59.55, 355.16°)
OKLaboklab(54.04% 0.1822 -0.0125)
OKLCHoklch(54.04% 0.183 356.1)
XYZxyz(24.3456, 13.7709, 17.2923)
Luminance0.1377 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3072 #30BA78
analogous
#BA30B7 #BA3072 #BA3330
triadic
#BA3072 #72BA30 #3072BA
tetradic
#BA3072 #B7BA30 #30BA78 #3330BA
square
#BA3072 #B7BA30 #30BA78 #3330BA
split-complementary
#BA3072 #30BA33 #30B7BA
monochromatic
#591736 #892354 #BA3072 #D35491 #DF85B0

Accessibility & contrast

On white

5.59
#BA3072 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA3072
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3072#FFFFFF#000000##FFFFFF
##BA30721.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5774
Deuteranopia (green-blind)
#72716F
Tritanopia (blue-blind)
#C91F4D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba3072;
/* rgb */ color: rgb(186, 48, 114);
/* oklch */ color: oklch(54.0% 0.183 356.1);
Tailwind
colors: {
  custom: {
    50: '#d4759a',
    500: '#ba3072',
    950: '#000000',
  },
}
SCSS
$custom: #ba3072;
$custom-light: #d4759a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3072",
  "rgb": {
    "r": 186,
    "g": 48,
    "b": 114
  },
  "hsl": {
    "h": 331.304,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54044,
    "c": 0.1826,
    "h": 356.1
  },
  "luminance": 0.13768
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA3072

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

Preview Lab → · Contrast checker → · Palette generator →

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