#BA4B38#BA4B38

#BA4B38 is a mid, vivid red. Relative luminance 0.158; OKLCH L 55.7% C 0.148 H 31.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#BA4B38
RGBrgb(186, 75, 56)
HSLhsl(9, 54%, 47%)
HSVhsv(9, 70%, 73%)
CMYKcmyk(0%, 59.7%, 69.9%, 27.1%)
CIE-LABlab(46.66, 43.66, 33.89)
CIE-LCHlch(46.66, 55.27, 37.82°)
OKLaboklab(55.68% 0.1255 0.0779)
OKLCHoklch(55.68% 0.148 31.8)
XYZxyz(23.4819, 15.7599, 5.5461)
Luminance0.1576 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4B38 #38A7BA
analogous
#BA3866 #BA4B38 #BA8C38
triadic
#BA4B38 #38BA4B #4B38BA
tetradic
#BA4B38 #66BA38 #38A7BA #8C38BA
square
#BA4B38 #66BA38 #38A7BA #8C38BA
split-complementary
#BA4B38 #38BA8C #3866BA
monochromatic
#5C251C #8B382A #BA4B38 #CF7060 #DD9B8F

Accessibility & contrast

On white

5.06
#BA4B38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#BA4B38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4B38
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4B38#FFFFFF#000000##FFFFFF
##BA4B381.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695F36
Deuteranopia (green-blind)
#847835
Tritanopia (blue-blind)
#CC3347
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba4b38;
/* rgb */ color: rgb(186, 75, 56);
/* oklch */ color: oklch(55.7% 0.148 31.8);
Tailwind
colors: {
  custom: {
    50: '#d6816f',
    500: '#ba4b38',
    950: '#000000',
  },
}
SCSS
$custom: #ba4b38;
$custom-light: #d6816f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4b38",
  "rgb": {
    "r": 186,
    "g": 75,
    "b": 56
  },
  "hsl": {
    "h": 8.769,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55676,
    "c": 0.14773,
    "h": 31.8
  },
  "luminance": 0.15757
}

Semantic roles & 50–950 ramp

primary
#BA4B38
secondary
#86BEC8
accent
#C8DD4B
background
#FEF8F6
surface
#FCEFEC
border
#D5CAC7
text
#160B07
muted
#847C7A

Preview Lab

Preview with #BA4B38

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

Preview Lab → · Contrast checker → · Palette generator →

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