#BA3074#BA3074

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

Color values

HEX#BA3074
RGBrgb(186, 48, 116)
HSLhsl(330, 59%, 46%)
HSVhsv(330, 74%, 73%)
CMYKcmyk(0%, 74.2%, 37.6%, 27.1%)
CIE-LABlab(43.97, 59.55, -6.16)
CIE-LCHlch(43.97, 59.87, 354.09°)
OKLaboklab(54.11% 0.1828 -0.0155)
OKLCHoklch(54.11% 0.183 355.2)
XYZxyz(24.4606, 13.8170, 17.8984)
Luminance0.1381 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3074 #30BA76
analogous
#BA30B9 #BA3074 #BA3130
triadic
#BA3074 #74BA30 #3074BA
tetradic
#BA3074 #B9BA30 #30BA76 #3130BA
square
#BA3074 #B9BA30 #30BA76 #3130BA
split-complementary
#BA3074 #30BA31 #30B9BA
monochromatic
#591737 #892356 #BA3074 #D35493 #DF85B2

Accessibility & contrast

On white

5.58
#BA3074 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA3074
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3074#FFFFFF#000000##FFFFFF
##BA30741.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5876
Deuteranopia (green-blind)
#717171
Tritanopia (blue-blind)
#C9204E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba3074;
/* rgb */ color: rgb(186, 48, 116);
/* oklch */ color: oklch(54.1% 0.183 355.2);
Tailwind
colors: {
  custom: {
    50: '#d4759c',
    500: '#ba3074',
    950: '#000000',
  },
}
SCSS
$custom: #ba3074;
$custom-light: #d4759c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3074",
  "rgb": {
    "r": 186,
    "g": 48,
    "b": 116
  },
  "hsl": {
    "h": 330.435,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54114,
    "c": 0.18343,
    "h": 355.2
  },
  "luminance": 0.13814
}

Semantic roles & 50–950 ramp

primary
#BA3074
secondary
#7DC9A3
accent
#E29546
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA3074

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

Preview Lab → · Contrast checker → · Palette generator →

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