#BA306D#BA306D

#BA306D is a mid, vivid pink. Relative luminance 0.137; OKLCH L 53.9% C 0.181 H 358.4°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#BA306D
RGBrgb(186, 48, 109)
HSLhsl(333, 59%, 46%)
HSVhsv(333, 74%, 73%)
CMYKcmyk(0%, 74.2%, 41.4%, 27.1%)
CIE-LABlab(43.74, 58.82, -2.17)
CIE-LCHlch(43.74, 58.86, 357.89°)
OKLaboklab(53.87% 0.1806 -0.005)
OKLCHoklch(53.87% 0.181 358.4)
XYZxyz(24.0687, 13.6602, 15.8343)
Luminance0.1366 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA306D #30BA7D
analogous
#BA30B2 #BA306D #BA3830
triadic
#BA306D #6DBA30 #306DBA
tetradic
#BA306D #B2BA30 #30BA7D #3830BA
square
#BA306D #B2BA30 #30BA7D #3830BA
split-complementary
#BA306D #30BA38 #30B2BA
monochromatic
#591734 #892350 #BA306D #D3548C #DF85AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA306D#FFFFFF#000000##FFFFFF
##BA306D1.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)
#4D576F
Deuteranopia (green-blind)
#73716A
Tritanopia (blue-blind)
#C91C4A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba306d;
/* rgb */ color: rgb(186, 48, 109);
/* oklch */ color: oklch(53.9% 0.181 358.4);
Tailwind
colors: {
  custom: {
    50: '#d47596',
    500: '#ba306d',
    950: '#000000',
  },
}
SCSS
$custom: #ba306d;
$custom-light: #d47596;
$custom-dark: #000000;
JSON
{
  "hex": "#ba306d",
  "rgb": {
    "r": 186,
    "g": 48,
    "b": 109
  },
  "hsl": {
    "h": 333.478,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53873,
    "c": 0.18068,
    "h": 358.4
  },
  "luminance": 0.13657
}

Semantic roles & 50–950 ramp

primary
#BA306D
secondary
#7DC9A7
accent
#E29D46
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BA306D

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

Preview Lab → · Contrast checker → · Palette generator →

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