#BA342E#BA342E

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

Color values

HEX#BA342E
RGBrgb(186, 52, 46)
HSLhsl(3, 60%, 45%)
HSVhsv(3, 75%, 73%)
CMYKcmyk(0%, 72%, 75.3%, 27.1%)
CIE-LABlab(42.91, 52.96, 35.33)
CIE-LCHlch(42.91, 63.66, 33.71°)
OKLaboklab(52.82% 0.1526 0.0789)
OKLCHoklch(52.82% 0.172 27.3)
XYZxyz(21.9733, 13.0957, 3.9550)
Luminance0.1309 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA342E #2EB4BA
analogous
#BA2E6E #BA342E #BA7A2E
triadic
#BA342E #2EBA34 #342EBA
tetradic
#BA342E #6EBA2E #2EB4BA #7A2EBA
square
#BA342E #6EBA2E #2EB4BA #7A2EBA
split-complementary
#BA342E #2EBA7A #2E6EBA
monochromatic
#581916 #892622 #BA342E #D45751 #E08682

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA342E#FFFFFF#000000##FFFFFF
##BA342E1.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)
#5B532C
Deuteranopia (green-blind)
#7D7029
Tritanopia (blue-blind)
#CD0034
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba342e;
/* rgb */ color: rgb(186, 52, 46);
/* oklch */ color: oklch(52.8% 0.172 27.3);
Tailwind
colors: {
  custom: {
    50: '#d77567',
    500: '#ba342e',
    950: '#000000',
  },
}
SCSS
$custom: #ba342e;
$custom-light: #d77567;
$custom-dark: #000000;
JSON
{
  "hex": "#ba342e",
  "rgb": {
    "r": 186,
    "g": 52,
    "b": 46
  },
  "hsl": {
    "h": 2.571,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.5282,
    "c": 0.17182,
    "h": 27.3
  },
  "luminance": 0.13092
}

Semantic roles & 50–950 ramp

primary
#BA342E
secondary
#7BC6C9
accent
#DDE344
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #BA342E

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

Preview Lab → · Contrast checker → · Palette generator →

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