#BA305B#BA305B

#BA305B is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.3% C 0.176 H 7.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#BA305B
RGBrgb(186, 48, 91)
HSLhsl(341, 59%, 46%)
HSVhsv(341, 74%, 73%)
CMYKcmyk(0%, 74.2%, 51.1%, 27.1%)
CIE-LABlab(43.23, 57.17, 8.29)
CIE-LCHlch(43.23, 57.77, 8.25°)
OKLaboklab(53.33% 0.1743 0.0215)
OKLCHoklch(53.33% 0.176 7)
XYZxyz(23.1970, 13.3115, 11.2434)
Luminance0.1331 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA305B #30BA8F
analogous
#BA30A0 #BA305B #BA4A30
triadic
#BA305B #5BBA30 #305BBA
tetradic
#BA305B #A0BA30 #30BA8F #4A30BA
square
#BA305B #A0BA30 #30BA8F #4A30BA
split-complementary
#BA305B #30BA4A #30A0BA
monochromatic
#59172B #892343 #BA305B #D3547C #DF85A1

Accessibility & contrast

On white

5.74
#BA305B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#BA305B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA305B
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA305B#FFFFFF#000000##FFFFFF
##BA305B1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52555C
Deuteranopia (green-blind)
#767058
Tritanopia (blue-blind)
#CB0E42
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba305b;
/* rgb */ color: rgb(186, 48, 91);
/* oklch */ color: oklch(53.3% 0.176 7.0);
Tailwind
colors: {
  custom: {
    50: '#d57489',
    500: '#ba305b',
    950: '#000000',
  },
}
SCSS
$custom: #ba305b;
$custom-light: #d57489;
$custom-dark: #000000;
JSON
{
  "hex": "#ba305b",
  "rgb": {
    "r": 186,
    "g": 48,
    "b": 91
  },
  "hsl": {
    "h": 341.304,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53328,
    "c": 0.17562,
    "h": 7
  },
  "luminance": 0.13308
}

Semantic roles & 50–950 ramp

primary
#BA305B
secondary
#7DC9B1
accent
#E2B146
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA305B

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

Preview Lab → · Contrast checker → · Palette generator →

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