#BA306A#BA306A

#BA306A is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.8% C 0.180 H 359.8°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#BA306A
RGBrgb(186, 48, 106)
HSLhsl(335, 59%, 46%)
HSVhsv(335, 74%, 73%)
CMYKcmyk(0%, 74.2%, 43%, 27.1%)
CIE-LABlab(43.65, 58.53, -0.45)
CIE-LCHlch(43.65, 58.53, 359.56°)
OKLaboklab(53.77% 0.1796 -0.0005)
OKLCHoklch(53.77% 0.18 359.8)
XYZxyz(23.9100, 13.5967, 14.9982)
Luminance0.1359 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA306A #30BA80
analogous
#BA30AF #BA306A #BA3B30
triadic
#BA306A #6ABA30 #306ABA
tetradic
#BA306A #AFBA30 #30BA80 #3B30BA
square
#BA306A #AFBA30 #30BA80 #3B30BA
split-complementary
#BA306A #30BA3B #30AFBA
monochromatic
#591733 #89234E #BA306A #D3548A #DF85AB

Accessibility & contrast

On white

5.65
#BA306A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#BA306A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA306A
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA306A#FFFFFF#000000##FFFFFF
##BA306A1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E566B
Deuteranopia (green-blind)
#737167
Tritanopia (blue-blind)
#CA1A49
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba306a;
/* rgb */ color: rgb(186, 48, 106);
/* oklch */ color: oklch(53.8% 0.180 359.8);
Tailwind
colors: {
  custom: {
    50: '#d47494',
    500: '#ba306a',
    950: '#000000',
  },
}
SCSS
$custom: #ba306a;
$custom-light: #d47494;
$custom-dark: #000000;
JSON
{
  "hex": "#ba306a",
  "rgb": {
    "r": 186,
    "g": 48,
    "b": 106
  },
  "hsl": {
    "h": 334.783,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53774,
    "c": 0.17962,
    "h": 359.8
  },
  "luminance": 0.13594
}

Semantic roles & 50–950 ramp

primary
#BA306A
secondary
#7DC9A9
accent
#E2A046
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BA306A

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

Preview Lab → · Contrast checker → · Palette generator →

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