#BA4E2D#BA4E2D

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

Color values

HEX#BA4E2D
RGBrgb(186, 78, 45)
HSLhsl(14, 61%, 45%)
HSVhsv(14, 76%, 73%)
CMYKcmyk(0%, 58.1%, 75.8%, 27.1%)
CIE-LABlab(47.08, 41.70, 40.38)
CIE-LCHlch(47.08, 58.05, 44.08°)
OKLaboklab(55.96% 0.1174 0.0896)
OKLCHoklch(55.96% 0.148 37.4)
XYZxyz(23.4502, 16.0805, 4.3511)
Luminance0.1608 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4E2D #2D99BA
analogous
#BA2D52 #BA4E2D #BA952D
triadic
#BA4E2D #2DBA4E #4E2DBA
tetradic
#BA4E2D #52BA2D #2D99BA #952DBA
square
#BA4E2D #52BA2D #2D99BA #952DBA
split-complementary
#BA4E2D #2DBA95 #2D52BA
monochromatic
#572515 #893921 #BA4E2D #D56F50 #E09781

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA4E2D#FFFFFF#000000##FFFFFF
##BA4E2D1.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)
#6C6129
Deuteranopia (green-blind)
#86792A
Tritanopia (blue-blind)
#CC3647
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba4e2d;
/* rgb */ color: rgb(186, 78, 45);
/* oklch */ color: oklch(56.0% 0.148 37.4);
Tailwind
colors: {
  custom: {
    50: '#d68368',
    500: '#ba4e2d',
    950: '#000000',
  },
}
SCSS
$custom: #ba4e2d;
$custom-light: #d68368;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4e2d",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 45
  },
  "hsl": {
    "h": 14.043,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55955,
    "c": 0.14767,
    "h": 37.4
  },
  "luminance": 0.16077
}

Semantic roles & 50–950 ramp

primary
#BA4E2D
secondary
#79B7C9
accent
#BFE444
background
#FEF8F6
surface
#FCEFEB
border
#D5CAC6
text
#160B06
muted
#847C7A

Preview Lab

Preview with #BA4E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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