#BA4F2C#BA4F2C

#BA4F2C is a mid, vivid red. Relative luminance 0.162; OKLCH L 56.1% C 0.147 H 38.2°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#BA4F2C
RGBrgb(186, 79, 44)
HSLhsl(15, 62%, 45%)
HSVhsv(15, 76%, 73%)
CMYKcmyk(0%, 57.5%, 76.3%, 27.1%)
CIE-LABlab(47.26, 41.17, 41.09)
CIE-LCHlch(47.26, 58.17, 44.94°)
OKLaboklab(56.09% 0.1156 0.0909)
OKLCHoklch(56.09% 0.147 38.2)
XYZxyz(23.5027, 16.2161, 4.2748)
Luminance0.1621 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4F2C #2C97BA
analogous
#BA2C50 #BA4F2C #BA962C
triadic
#BA4F2C #2CBA4F #4F2CBA
tetradic
#BA4F2C #50BA2C #2C97BA #962CBA
square
#BA4F2C #50BA2C #2C97BA #962CBA
split-complementary
#BA4F2C #2CBA96 #2C50BA
monochromatic
#572515 #893A20 #BA4F2C #D56F4E #E19880

Accessibility & contrast

On white

4.95
#BA4F2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#BA4F2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4F2C
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4F2C#FFFFFF#000000##FFFFFF
##BA4F2C1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6128
Deuteranopia (green-blind)
#877929
Tritanopia (blue-blind)
#CC3748
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba4f2c;
/* rgb */ color: rgb(186, 79, 44);
/* oklch */ color: oklch(56.1% 0.147 38.2);
Tailwind
colors: {
  custom: {
    50: '#d68467',
    500: '#ba4f2c',
    950: '#000000',
  },
}
SCSS
$custom: #ba4f2c;
$custom-light: #d68467;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4f2c",
  "rgb": {
    "r": 186,
    "g": 79,
    "b": 44
  },
  "hsl": {
    "h": 14.789,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.56086,
    "c": 0.14703,
    "h": 38.2
  },
  "luminance": 0.16213
}

Semantic roles & 50–950 ramp

primary
#BA4F2C
secondary
#78B6CA
accent
#BDE543
background
#FEF8F6
surface
#FCEFEB
border
#D5CAC6
text
#160B06
muted
#847C7A

Preview Lab

Preview with #BA4F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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