#BA304F#BA304F

#BA304F is a mid, vivid red. Relative luminance 0.131; OKLCH L 53.0% C 0.174 H 12.7°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#BA304F
RGBrgb(186, 48, 79)
HSLhsl(347, 59%, 46%)
HSVhsv(347, 74%, 73%)
CMYKcmyk(0%, 74.2%, 57.5%, 27.1%)
CIE-LABlab(42.94, 56.24, 15.38)
CIE-LCHlch(42.94, 58.30, 15.30°)
OKLaboklab(53.03% 0.1697 0.0383)
OKLCHoklch(53.03% 0.174 12.7)
XYZxyz(22.7201, 13.1208, 8.7318)
Luminance0.1312 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA304F #30BA9B
analogous
#BA3094 #BA304F #BA5630
triadic
#BA304F #4FBA30 #304FBA
tetradic
#BA304F #94BA30 #30BA9B #5630BA
square
#BA304F #94BA30 #30BA9B #5630BA
split-complementary
#BA304F #30BA56 #3094BA
monochromatic
#591726 #89233A #BA304F #D35471 #DF8599

Accessibility & contrast

On white

5.80
#BA304F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#BA304F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA304F
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA304F#FFFFFF#000000##FFFFFF
##BA304F1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55534F
Deuteranopia (green-blind)
#78704B
Tritanopia (blue-blind)
#CB023D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba304f;
/* rgb */ color: rgb(186, 48, 79);
/* oklch */ color: oklch(53.0% 0.174 12.7);
Tailwind
colors: {
  custom: {
    50: '#d57480',
    500: '#ba304f',
    950: '#000000',
  },
}
SCSS
$custom: #ba304f;
$custom-light: #d57480;
$custom-dark: #000000;
JSON
{
  "hex": "#ba304f",
  "rgb": {
    "r": 186,
    "g": 48,
    "b": 79
  },
  "hsl": {
    "h": 346.522,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53025,
    "c": 0.17395,
    "h": 12.7
  },
  "luminance": 0.13118
}

Semantic roles & 50–950 ramp

primary
#BA304F
secondary
#7DC9B8
accent
#E2BF46
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C

Preview Lab

Preview with #BA304F

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

Preview Lab → · Contrast checker → · Palette generator →

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