#BA4F34#BA4F34

#BA4F34 is a mid, vivid red. Relative luminance 0.163; OKLCH L 56.2% C 0.145 H 35.3°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#BA4F34
RGBrgb(186, 79, 52)
HSLhsl(12, 56%, 47%)
HSVhsv(12, 72%, 73%)
CMYKcmyk(0%, 57.5%, 72%, 27.1%)
CIE-LABlab(47.34, 41.54, 36.91)
CIE-LCHlch(47.34, 55.57, 41.62°)
OKLaboklab(56.18% 0.1182 0.0837)
OKLCHoklch(56.18% 0.145 35.3)
XYZxyz(23.6679, 16.2821, 5.1446)
Luminance0.1628 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4F34 #349FBA
analogous
#BA345C #BA4F34 #BA9234
triadic
#BA4F34 #34BA4F #4F34BA
tetradic
#BA4F34 #5CBA34 #349FBA #9234BA
square
#BA4F34 #5CBA34 #349FBA #9234BA
split-complementary
#BA4F34 #34BA92 #345CBA
monochromatic
#5A2619 #8A3B27 #BA4F34 #D1725A #DE9B8A

Accessibility & contrast

On white

4.93
#BA4F34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#BA4F34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4F34
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4F34#FFFFFF#000000##FFFFFF
##BA4F341.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6231
Deuteranopia (green-blind)
#867931
Tritanopia (blue-blind)
#CC3849
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba4f34;
/* rgb */ color: rgb(186, 79, 52);
/* oklch */ color: oklch(56.2% 0.145 35.3);
Tailwind
colors: {
  custom: {
    50: '#d6846c',
    500: '#ba4f34',
    950: '#000000',
  },
}
SCSS
$custom: #ba4f34;
$custom-light: #d6846c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4f34",
  "rgb": {
    "r": 186,
    "g": 79,
    "b": 52
  },
  "hsl": {
    "h": 12.09,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56178,
    "c": 0.1448,
    "h": 35.3
  },
  "luminance": 0.16279
}

Semantic roles & 50–950 ramp

primary
#BA4F34
secondary
#81BAC8
accent
#C1E048
background
#FEF8F6
surface
#FCEFEB
border
#D5CAC6
text
#160B07
muted
#847C7A

Preview Lab

Preview with #BA4F34

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

Preview Lab → · Contrast checker → · Palette generator →

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