#BA305C#BA305C

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

Color values

HEX#BA305C
RGBrgb(186, 48, 92)
HSLhsl(341, 59%, 46%)
HSVhsv(341, 74%, 73%)
CMYKcmyk(0%, 74.2%, 50.5%, 27.1%)
CIE-LABlab(43.25, 57.25, 7.70)
CIE-LCHlch(43.25, 57.77, 7.66°)
OKLaboklab(53.36% 0.1747 0.0201)
OKLCHoklch(53.36% 0.176 6.6)
XYZxyz(23.2404, 13.3289, 11.4721)
Luminance0.1333 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA305C #30BA8E
analogous
#BA30A1 #BA305C #BA4930
triadic
#BA305C #5CBA30 #305CBA
tetradic
#BA305C #A1BA30 #30BA8E #4930BA
square
#BA305C #A1BA30 #30BA8E #4930BA
split-complementary
#BA305C #30BA49 #30A1BA
monochromatic
#59172C #892344 #BA305C #D3547D #DF85A2

Accessibility & contrast

On white

5.73
#BA305C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#BA305C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA305C
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA305C#FFFFFF#000000##FFFFFF
##BA305C1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52555D
Deuteranopia (green-blind)
#767059
Tritanopia (blue-blind)
#CB0F42
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba305c;
/* rgb */ color: rgb(186, 48, 92);
/* oklch */ color: oklch(53.4% 0.176 6.6);
Tailwind
colors: {
  custom: {
    50: '#d57489',
    500: '#ba305c',
    950: '#000000',
  },
}
SCSS
$custom: #ba305c;
$custom-light: #d57489;
$custom-dark: #000000;
JSON
{
  "hex": "#ba305c",
  "rgb": {
    "r": 186,
    "g": 48,
    "b": 92
  },
  "hsl": {
    "h": 340.87,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53355,
    "c": 0.17582,
    "h": 6.6
  },
  "luminance": 0.13326
}

Semantic roles & 50–950 ramp

primary
#BA305C
secondary
#7DC9B1
accent
#E2B046
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA305C

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

Preview Lab → · Contrast checker → · Palette generator →

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