#BA3073#BA3073

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

Color values

HEX#BA3073
RGBrgb(186, 48, 115)
HSLhsl(331, 59%, 46%)
HSVhsv(331, 74%, 73%)
CMYKcmyk(0%, 74.2%, 38.2%, 27.1%)
CIE-LABlab(43.94, 59.44, -5.60)
CIE-LCHlch(43.94, 59.71, 354.62°)
OKLaboklab(54.08% 0.1825 -0.014)
OKLCHoklch(54.08% 0.183 355.6)
XYZxyz(24.4028, 13.7938, 17.5937)
Luminance0.1379 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3073 #30BA77
analogous
#BA30B8 #BA3073 #BA3230
triadic
#BA3073 #73BA30 #3073BA
tetradic
#BA3073 #B8BA30 #30BA77 #3230BA
square
#BA3073 #B8BA30 #30BA77 #3230BA
split-complementary
#BA3073 #30BA32 #30B8BA
monochromatic
#591737 #892355 #BA3073 #D35492 #DF85B1

Accessibility & contrast

On white

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

On black

3.76
#BA3073 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA3073#FFFFFF#000000##FFFFFF
##BA30731.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5875
Deuteranopia (green-blind)
#727170
Tritanopia (blue-blind)
#C9204D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba3073;
/* rgb */ color: rgb(186, 48, 115);
/* oklch */ color: oklch(54.1% 0.183 355.6);
Tailwind
colors: {
  custom: {
    50: '#d4759b',
    500: '#ba3073',
    950: '#000000',
  },
}
SCSS
$custom: #ba3073;
$custom-light: #d4759b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3073",
  "rgb": {
    "r": 186,
    "g": 48,
    "b": 115
  },
  "hsl": {
    "h": 330.87,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54079,
    "c": 0.18301,
    "h": 355.6
  },
  "luminance": 0.13791
}

Semantic roles & 50–950 ramp

primary
#BA3073
secondary
#7DC9A4
accent
#E29646
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA3073

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

Preview Lab → · Contrast checker → · Palette generator →

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