#BA4F38#BA4F38

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

Color values

HEX#BA4F38
RGBrgb(186, 79, 56)
HSLhsl(11, 54%, 47%)
HSVhsv(11, 70%, 73%)
CMYKcmyk(0%, 57.5%, 69.9%, 27.1%)
CIE-LABlab(47.39, 41.74, 34.74)
CIE-LCHlch(47.39, 54.31, 39.77°)
OKLaboklab(56.23% 0.1196 0.0797)
OKLCHoklch(56.23% 0.144 33.7)
XYZxyz(23.7618, 16.3197, 5.6394)
Luminance0.1632 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4F38 #38A3BA
analogous
#BA3862 #BA4F38 #BA9038
triadic
#BA4F38 #38BA4F #4F38BA
tetradic
#BA4F38 #62BA38 #38A3BA #9038BA
square
#BA4F38 #62BA38 #38A3BA #9038BA
split-complementary
#BA4F38 #38BA90 #3862BA
monochromatic
#5C271C #8B3B2A #BA4F38 #CF7460 #DD9D8F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA4F38#FFFFFF#000000##FFFFFF
##BA4F381.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)
#6C6235
Deuteranopia (green-blind)
#867935
Tritanopia (blue-blind)
#CC384A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba4f38;
/* rgb */ color: rgb(186, 79, 56);
/* oklch */ color: oklch(56.2% 0.144 33.7);
Tailwind
colors: {
  custom: {
    50: '#d5846f',
    500: '#ba4f38',
    950: '#000000',
  },
}
SCSS
$custom: #ba4f38;
$custom-light: #d5846f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4f38",
  "rgb": {
    "r": 186,
    "g": 79,
    "b": 56
  },
  "hsl": {
    "h": 10.615,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56231,
    "c": 0.14371,
    "h": 33.7
  },
  "luminance": 0.16317
}

Semantic roles & 50–950 ramp

primary
#BA4F38
secondary
#86BCC8
accent
#C3DD4B
background
#FEF8F6
surface
#FCEFEC
border
#D5CAC7
text
#160B07
muted
#847C7A

Preview Lab

Preview with #BA4F38

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

Preview Lab → · Contrast checker → · Palette generator →

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