#BA4E2F#BA4E2F

#BA4E2F is a mid, vivid red. Relative luminance 0.161; OKLCH L 56.0% C 0.147 H 36.7°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#BA4E2F
RGBrgb(186, 78, 47)
HSLhsl(13, 60%, 46%)
HSVhsv(13, 75%, 73%)
CMYKcmyk(0%, 58.1%, 74.7%, 27.1%)
CIE-LABlab(47.10, 41.79, 39.35)
CIE-LCHlch(47.10, 57.40, 43.28°)
OKLaboklab(55.98% 0.118 0.0879)
OKLCHoklch(55.98% 0.147 36.7)
XYZxyz(23.4896, 16.0963, 4.5587)
Luminance0.1609 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4E2F #2F9BBA
analogous
#BA2F55 #BA4E2F #BA932F
triadic
#BA4E2F #2FBA4E #4E2FBA
tetradic
#BA4E2F #55BA2F #2F9BBA #932FBA
square
#BA4E2F #55BA2F #2F9BBA #932FBA
split-complementary
#BA4E2F #2FBA93 #2F55BA
monochromatic
#582516 #893A23 #BA4E2F #D36F53 #E09884

Accessibility & contrast

On white

4.98
#BA4E2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#BA4E2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4E2F
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4E2F#FFFFFF#000000##FFFFFF
##BA4E2F1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C612B
Deuteranopia (green-blind)
#86792C
Tritanopia (blue-blind)
#CC3647
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba4e2f;
/* rgb */ color: rgb(186, 78, 47);
/* oklch */ color: oklch(56.0% 0.147 36.7);
Tailwind
colors: {
  custom: {
    50: '#d68369',
    500: '#ba4e2f',
    950: '#000000',
  },
}
SCSS
$custom: #ba4e2f;
$custom-light: #d68369;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4e2f",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 47
  },
  "hsl": {
    "h": 13.381,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55977,
    "c": 0.14712,
    "h": 36.7
  },
  "luminance": 0.16093
}

Semantic roles & 50–950 ramp

primary
#BA4E2F
secondary
#7CB8C9
accent
#C0E345
background
#FEF8F6
surface
#FCEFEB
border
#D5CAC6
text
#160B06
muted
#847C7A

Preview Lab

Preview with #BA4E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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