#BA305D#BA305D

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

Color values

HEX#BA305D
RGBrgb(186, 48, 93)
HSLhsl(340, 59%, 46%)
HSVhsv(340, 74%, 73%)
CMYKcmyk(0%, 74.2%, 50%, 27.1%)
CIE-LABlab(43.28, 57.34, 7.11)
CIE-LCHlch(43.28, 57.78, 7.07°)
OKLaboklab(53.38% 0.175 0.0186)
OKLCHoklch(53.38% 0.176 6.1)
XYZxyz(23.2845, 13.3465, 11.7038)
Luminance0.1334 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA305D #30BA8D
analogous
#BA30A2 #BA305D #BA4830
triadic
#BA305D #5DBA30 #305DBA
tetradic
#BA305D #A2BA30 #30BA8D #4830BA
square
#BA305D #A2BA30 #30BA8D #4830BA
split-complementary
#BA305D #30BA48 #30A2BA
monochromatic
#59172C #892345 #BA305D #D3547E #DF85A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA305D#FFFFFF#000000##FFFFFF
##BA305D1.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)
#52555E
Deuteranopia (green-blind)
#76705A
Tritanopia (blue-blind)
#CB1043
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba305d;
/* rgb */ color: rgb(186, 48, 93);
/* oklch */ color: oklch(53.4% 0.176 6.1);
Tailwind
colors: {
  custom: {
    50: '#d5748a',
    500: '#ba305d',
    950: '#000000',
  },
}
SCSS
$custom: #ba305d;
$custom-light: #d5748a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba305d",
  "rgb": {
    "r": 186,
    "g": 48,
    "b": 93
  },
  "hsl": {
    "h": 340.435,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53383,
    "c": 0.17603,
    "h": 6.1
  },
  "luminance": 0.13343
}

Semantic roles & 50–950 ramp

primary
#BA305D
secondary
#7DC9B0
accent
#E2AF46
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA305D

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

Preview Lab → · Contrast checker → · Palette generator →

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