#BA3096#BA3096

#BA3096 is a mid, highly saturated pink. Relative luminance 0.148; OKLCH L 55.5% C 0.202 H 340.6°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#BA3096
RGBrgb(186, 48, 150)
HSLhsl(316, 59%, 46%)
HSVhsv(316, 74%, 73%)
CMYKcmyk(0%, 74.2%, 19.4%, 27.1%)
CIE-LABlab(45.30, 63.69, -24.86)
CIE-LCHlch(45.30, 68.38, 338.68°)
OKLaboklab(55.52% 0.1904 -0.067)
OKLCHoklch(55.52% 0.202 340.6)
XYZxyz(26.8125, 14.7577, 30.2847)
Luminance0.1475 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3096 #30BA54
analogous
#9930BA #BA3096 #BA3051
triadic
#BA3096 #96BA30 #3096BA
tetradic
#BA3096 #BA9930 #30BA54 #3051BA
square
#BA3096 #BA9930 #30BA54 #3051BA
split-complementary
#BA3096 #51BA30 #30BA99
monochromatic
#591748 #89236F #BA3096 #D354B2 #DF85C8

Accessibility & contrast

On white

5.32
#BA3096 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#BA3096 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3096
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3096#FFFFFF#000000##FFFFFF
##BA30961.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5D99
Deuteranopia (green-blind)
#677393
Tritanopia (blue-blind)
#C5345F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba3096;
/* rgb */ color: rgb(186, 48, 150);
/* oklch */ color: oklch(55.5% 0.202 340.6);
Tailwind
colors: {
  custom: {
    50: '#d376b5',
    500: '#ba3096',
    950: '#000000',
  },
}
SCSS
$custom: #ba3096;
$custom-light: #d376b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3096",
  "rgb": {
    "r": 186,
    "g": 48,
    "b": 150
  },
  "hsl": {
    "h": 315.652,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5552,
    "c": 0.20183,
    "h": 340.6
  },
  "luminance": 0.14755
}

Semantic roles & 50–950 ramp

primary
#BA3096
secondary
#7DC991
accent
#E26E46
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA3096

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

Preview Lab → · Contrast checker → · Palette generator →

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