#BA305A#BA305A

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

Color values

HEX#BA305A
RGBrgb(186, 48, 90)
HSLhsl(342, 59%, 46%)
HSVhsv(342, 74%, 73%)
CMYKcmyk(0%, 74.2%, 51.6%, 27.1%)
CIE-LABlab(43.20, 57.08, 8.88)
CIE-LCHlch(43.20, 57.77, 8.84°)
OKLaboklab(53.3% 0.1739 0.0229)
OKLCHoklch(53.3% 0.175 7.5)
XYZxyz(23.1542, 13.2944, 11.0177)
Luminance0.1329 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA305A #30BA90
analogous
#BA309F #BA305A #BA4B30
triadic
#BA305A #5ABA30 #305ABA
tetradic
#BA305A #9FBA30 #30BA90 #4B30BA
square
#BA305A #9FBA30 #30BA90 #4B30BA
split-complementary
#BA305A #30BA4B #309FBA
monochromatic
#59172B #892342 #BA305A #D3547B #DF85A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA305A#FFFFFF#000000##FFFFFF
##BA305A1.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)
#52545B
Deuteranopia (green-blind)
#767057
Tritanopia (blue-blind)
#CB0D42
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba305a;
/* rgb */ color: rgb(186, 48, 90);
/* oklch */ color: oklch(53.3% 0.175 7.5);
Tailwind
colors: {
  custom: {
    50: '#d57488',
    500: '#ba305a',
    950: '#000000',
  },
}
SCSS
$custom: #ba305a;
$custom-light: #d57488;
$custom-dark: #000000;
JSON
{
  "hex": "#ba305a",
  "rgb": {
    "r": 186,
    "g": 48,
    "b": 90
  },
  "hsl": {
    "h": 341.739,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.533,
    "c": 0.17543,
    "h": 7.5
  },
  "luminance": 0.13291
}

Semantic roles & 50–950 ramp

primary
#BA305A
secondary
#7DC9B2
accent
#E2B346
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA305A

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

Preview Lab → · Contrast checker → · Palette generator →

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