#BA307A#BA307A

#BA307A is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.3% C 0.186 H 352.4°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#BA307A
RGBrgb(186, 48, 122)
HSLhsl(328, 59%, 46%)
HSVhsv(328, 74%, 73%)
CMYKcmyk(0%, 74.2%, 34.4%, 27.1%)
CIE-LABlab(44.18, 60.21, -9.55)
CIE-LCHlch(44.18, 60.96, 350.99°)
OKLaboklab(54.34% 0.1845 -0.0246)
OKLCHoklch(54.34% 0.186 352.4)
XYZxyz(24.8210, 13.9611, 19.7962)
Luminance0.1396 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA307A #30BA70
analogous
#B530BA #BA307A #BA3035
triadic
#BA307A #7ABA30 #307ABA
tetradic
#BA307A #BAB530 #30BA70 #3035BA
square
#BA307A #BAB530 #30BA70 #3035BA
split-complementary
#BA307A #35BA30 #30BAB5
monochromatic
#59173A #89235A #BA307A #D35498 #DF85B5

Accessibility & contrast

On white

5.54
#BA307A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#BA307A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA307A
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA307A#FFFFFF#000000##FFFFFF
##BA307A1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49597C
Deuteranopia (green-blind)
#707177
Tritanopia (blue-blind)
#C82451
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba307a;
/* rgb */ color: rgb(186, 48, 122);
/* oklch */ color: oklch(54.3% 0.186 352.4);
Tailwind
colors: {
  custom: {
    50: '#d375a0',
    500: '#ba307a',
    950: '#000000',
  },
}
SCSS
$custom: #ba307a;
$custom-light: #d375a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba307a",
  "rgb": {
    "r": 186,
    "g": 48,
    "b": 122
  },
  "hsl": {
    "h": 327.826,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54335,
    "c": 0.1861,
    "h": 352.4
  },
  "luminance": 0.13958
}

Semantic roles & 50–950 ramp

primary
#BA307A
secondary
#7DC9A0
accent
#E28E46
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA307A

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

Preview Lab → · Contrast checker → · Palette generator →

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