#BA306F#BA306F

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

Color values

HEX#BA306F
RGBrgb(186, 48, 111)
HSLhsl(333, 59%, 46%)
HSVhsv(333, 74%, 73%)
CMYKcmyk(0%, 74.2%, 40.3%, 27.1%)
CIE-LABlab(43.80, 59.03, -3.32)
CIE-LCHlch(43.80, 59.12, 356.78°)
OKLaboklab(53.94% 0.1812 -0.008)
OKLCHoklch(53.94% 0.181 357.5)
XYZxyz(24.1776, 13.7037, 16.4077)
Luminance0.1370 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA306F #30BA7B
analogous
#BA30B4 #BA306F #BA3630
triadic
#BA306F #6FBA30 #306FBA
tetradic
#BA306F #B4BA30 #30BA7B #3630BA
square
#BA306F #B4BA30 #30BA7B #3630BA
split-complementary
#BA306F #30BA36 #30B4BA
monochromatic
#591735 #892352 #BA306F #D3548E #DF85AE

Accessibility & contrast

On white

5.61
#BA306F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#BA306F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA306F
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA306F#FFFFFF#000000##FFFFFF
##BA306F1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5771
Deuteranopia (green-blind)
#72716C
Tritanopia (blue-blind)
#C91D4B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba306f;
/* rgb */ color: rgb(186, 48, 111);
/* oklch */ color: oklch(53.9% 0.181 357.5);
Tailwind
colors: {
  custom: {
    50: '#d47598',
    500: '#ba306f',
    950: '#000000',
  },
}
SCSS
$custom: #ba306f;
$custom-light: #d47598;
$custom-dark: #000000;
JSON
{
  "hex": "#ba306f",
  "rgb": {
    "r": 186,
    "g": 48,
    "b": 111
  },
  "hsl": {
    "h": 332.609,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5394,
    "c": 0.18142,
    "h": 357.5
  },
  "luminance": 0.13701
}

Semantic roles & 50–950 ramp

primary
#BA306F
secondary
#7DC9A6
accent
#E29B46
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BA306F

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

Preview Lab → · Contrast checker → · Palette generator →

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