#BA306C#BA306C

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

Color values

HEX#BA306C
RGBrgb(186, 48, 108)
HSLhsl(334, 59%, 46%)
HSVhsv(334, 74%, 73%)
CMYKcmyk(0%, 74.2%, 41.9%, 27.1%)
CIE-LABlab(43.71, 58.72, -1.60)
CIE-LCHlch(43.71, 58.75, 358.44°)
OKLaboklab(53.84% 0.1803 -0.0035)
OKLCHoklch(53.84% 0.18 358.9)
XYZxyz(24.0152, 13.6388, 15.5524)
Luminance0.1364 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA306C #30BA7E
analogous
#BA30B1 #BA306C #BA3930
triadic
#BA306C #6CBA30 #306CBA
tetradic
#BA306C #B1BA30 #30BA7E #3930BA
square
#BA306C #B1BA30 #30BA7E #3930BA
split-complementary
#BA306C #30BA39 #30B1BA
monochromatic
#591734 #892350 #BA306C #D3548B #DF85AC

Accessibility & contrast

On white

5.63
#BA306C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#BA306C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA306C
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA306C#FFFFFF#000000##FFFFFF
##BA306C1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D576E
Deuteranopia (green-blind)
#737169
Tritanopia (blue-blind)
#CA1B4A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba306c;
/* rgb */ color: rgb(186, 48, 108);
/* oklch */ color: oklch(53.8% 0.180 358.9);
Tailwind
colors: {
  custom: {
    50: '#d47596',
    500: '#ba306c',
    950: '#000000',
  },
}
SCSS
$custom: #ba306c;
$custom-light: #d47596;
$custom-dark: #000000;
JSON
{
  "hex": "#ba306c",
  "rgb": {
    "r": 186,
    "g": 48,
    "b": 108
  },
  "hsl": {
    "h": 333.913,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5384,
    "c": 0.18031,
    "h": 358.9
  },
  "luminance": 0.13636
}

Semantic roles & 50–950 ramp

primary
#BA306C
secondary
#7DC9A8
accent
#E29E46
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BA306C

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

Preview Lab → · Contrast checker → · Palette generator →

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