#BA342C#BA342C

#BA342C is a mid, vivid red. Relative luminance 0.131; OKLCH L 52.8% C 0.172 H 28.0°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#BA342C
RGBrgb(186, 52, 44)
HSLhsl(3, 62%, 45%)
HSVhsv(3, 76%, 73%)
CMYKcmyk(0%, 72%, 76.3%, 27.1%)
CIE-LABlab(42.88, 52.88, 36.44)
CIE-LCHlch(42.88, 64.22, 34.57°)
OKLaboklab(52.8% 0.152 0.0808)
OKLCHoklch(52.8% 0.172 28)
XYZxyz(21.9348, 13.0803, 3.7522)
Luminance0.1308 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA342C #2CB2BA
analogous
#BA2C6B #BA342C #BA7B2C
triadic
#BA342C #2CBA34 #342CBA
tetradic
#BA342C #6BBA2C #2CB2BA #7B2CBA
square
#BA342C #6BBA2C #2CB2BA #7B2CBA
split-complementary
#BA342C #2CBA7B #2C6BBA
monochromatic
#571815 #892620 #BA342C #D5564E #E18580

Accessibility & contrast

On white

5.81
#BA342C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA342C
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA342C#FFFFFF#000000##FFFFFF
##BA342C1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B532A
Deuteranopia (green-blind)
#7D7027
Tritanopia (blue-blind)
#CD0034
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba342c;
/* rgb */ color: rgb(186, 52, 44);
/* oklch */ color: oklch(52.8% 0.172 28.0);
Tailwind
colors: {
  custom: {
    50: '#d77566',
    500: '#ba342c',
    950: '#000000',
  },
}
SCSS
$custom: #ba342c;
$custom-light: #d77566;
$custom-dark: #000000;
JSON
{
  "hex": "#ba342c",
  "rgb": {
    "r": 186,
    "g": 52,
    "b": 44
  },
  "hsl": {
    "h": 3.38,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52795,
    "c": 0.17211,
    "h": 28
  },
  "luminance": 0.13077
}

Semantic roles & 50–950 ramp

primary
#BA342C
secondary
#78C5CA
accent
#DCE543
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #BA342C

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

Preview Lab → · Contrast checker → · Palette generator →

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