#BA309A#BA309A

#BA309A is a mid, highly saturated pink. Relative luminance 0.149; OKLCH L 55.7% C 0.204 H 339.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#BA309A
RGBrgb(186, 48, 154)
HSLhsl(314, 59%, 46%)
HSVhsv(314, 74%, 73%)
CMYKcmyk(0%, 74.2%, 17.2%, 27.1%)
CIE-LABlab(45.48, 64.25, -26.98)
CIE-LCHlch(45.48, 69.68, 337.22°)
OKLaboklab(55.71% 0.1909 -0.073)
OKLCHoklch(55.71% 0.204 339.1)
XYZxyz(27.1401, 14.8887, 32.0101)
Luminance0.1489 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA309A #30BA50
analogous
#9530BA #BA309A #BA3055
triadic
#BA309A #9ABA30 #309ABA
tetradic
#BA309A #BA9530 #30BA50 #3055BA
square
#BA309A #BA9530 #30BA50 #3055BA
split-complementary
#BA309A #55BA30 #30BA95
monochromatic
#591749 #892372 #BA309A #D354B6 #DF85CA

Accessibility & contrast

On white

5.28
#BA309A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#BA309A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA309A
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA309A#FFFFFF#000000##FFFFFF
##BA309A1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385E9D
Deuteranopia (green-blind)
#667397
Tritanopia (blue-blind)
#C53662
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba309a;
/* rgb */ color: rgb(186, 48, 154);
/* oklch */ color: oklch(55.7% 0.204 339.1);
Tailwind
colors: {
  custom: {
    50: '#d376b8',
    500: '#ba309a',
    950: '#000000',
  },
}
SCSS
$custom: #ba309a;
$custom-light: #d376b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba309a",
  "rgb": {
    "r": 186,
    "g": 48,
    "b": 154
  },
  "hsl": {
    "h": 313.913,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5571,
    "c": 0.20441,
    "h": 339.1
  },
  "luminance": 0.14886
}

Semantic roles & 50–950 ramp

primary
#BA309A
secondary
#7DC98F
accent
#E26A46
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA309A

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

Preview Lab → · Contrast checker → · Palette generator →

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