#BA305E#BA305E

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

Color values

HEX#BA305E
RGBrgb(186, 48, 94)
HSLhsl(340, 59%, 46%)
HSVhsv(340, 74%, 73%)
CMYKcmyk(0%, 74.2%, 49.5%, 27.1%)
CIE-LABlab(43.31, 57.42, 6.53)
CIE-LCHlch(43.31, 57.79, 6.49°)
OKLaboklab(53.41% 0.1754 0.0172)
OKLCHoklch(53.41% 0.176 5.6)
XYZxyz(23.3290, 13.3643, 11.9386)
Luminance0.1336 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA305E #30BA8C
analogous
#BA30A3 #BA305E #BA4730
triadic
#BA305E #5EBA30 #305EBA
tetradic
#BA305E #A3BA30 #30BA8C #4730BA
square
#BA305E #A3BA30 #30BA8C #4730BA
split-complementary
#BA305E #30BA47 #30A3BA
monochromatic
#59172D #892345 #BA305E #D3547E #DF85A3

Accessibility & contrast

On white

5.72
#BA305E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA305E
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA305E#FFFFFF#000000##FFFFFF
##BA305E1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51555F
Deuteranopia (green-blind)
#76705B
Tritanopia (blue-blind)
#CB1143
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba305e;
/* rgb */ color: rgb(186, 48, 94);
/* oklch */ color: oklch(53.4% 0.176 5.6);
Tailwind
colors: {
  custom: {
    50: '#d5748b',
    500: '#ba305e',
    950: '#000000',
  },
}
SCSS
$custom: #ba305e;
$custom-light: #d5748b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba305e",
  "rgb": {
    "r": 186,
    "g": 48,
    "b": 94
  },
  "hsl": {
    "h": 340,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53411,
    "c": 0.17625,
    "h": 5.6
  },
  "luminance": 0.13361
}

Semantic roles & 50–950 ramp

primary
#BA305E
secondary
#7DC9B0
accent
#E2AE46
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BA305E

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

Preview Lab → · Contrast checker → · Palette generator →

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