#BA314A#BA314A

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

Color values

HEX#BA314A
RGBrgb(186, 49, 74)
HSLhsl(349, 58%, 46%)
HSVhsv(349, 74%, 73%)
CMYKcmyk(0%, 73.7%, 60.2%, 27.1%)
CIE-LABlab(42.96, 55.55, 18.52)
CIE-LCHlch(42.96, 58.55, 18.44°)
OKLaboklab(53.01% 0.1666 0.0454)
OKLCHoklch(53.01% 0.173 15.2)
XYZxyz(22.5863, 13.1334, 7.8229)
Luminance0.1313 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA314A #31BAA1
analogous
#BA318E #BA314A #BA5C31
triadic
#BA314A #4ABA31 #314ABA
tetradic
#BA314A #8EBA31 #31BAA1 #5C31BA
square
#BA314A #8EBA31 #31BAA1 #5C31BA
split-complementary
#BA314A #31BA5C #318EBA
monochromatic
#591723 #8A2437 #BA314A #D2566D #DF8696

Accessibility & contrast

On white

5.79
#BA314A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#BA314A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA314A
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA314A#FFFFFF#000000##FFFFFF
##BA314A1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56534A
Deuteranopia (green-blind)
#797046
Tritanopia (blue-blind)
#CC013B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba314a;
/* rgb */ color: rgb(186, 49, 74);
/* oklch */ color: oklch(53.0% 0.173 15.2);
Tailwind
colors: {
  custom: {
    50: '#d6747c',
    500: '#ba314a',
    950: '#000000',
  },
}
SCSS
$custom: #ba314a;
$custom-light: #d6747c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba314a",
  "rgb": {
    "r": 186,
    "g": 49,
    "b": 74
  },
  "hsl": {
    "h": 349.051,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53005,
    "c": 0.17268,
    "h": 15.2
  },
  "luminance": 0.1313
}

Semantic roles & 50–950 ramp

primary
#BA314A
secondary
#7EC9BB
accent
#E2C546
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160909
muted
#847B7B

Preview Lab

Preview with #BA314A

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

Preview Lab → · Contrast checker → · Palette generator →

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