#BA4938#BA4938

#BA4938 is a mid, vivid red. Relative luminance 0.155; OKLCH L 55.4% C 0.150 H 30.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#BA4938
RGBrgb(186, 73, 56)
HSLhsl(8, 54%, 47%)
HSVhsv(8, 70%, 73%)
CMYKcmyk(0%, 60.8%, 69.9%, 27.1%)
CIE-LABlab(46.30, 44.60, 33.48)
CIE-LCHlch(46.30, 55.77, 36.89°)
OKLaboklab(55.41% 0.1285 0.077)
OKLCHoklch(55.41% 0.15 30.9)
XYZxyz(23.3484, 15.4929, 5.5016)
Luminance0.1549 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4938 #38A9BA
analogous
#BA3868 #BA4938 #BA8A38
triadic
#BA4938 #38BA49 #4938BA
tetradic
#BA4938 #68BA38 #38A9BA #8A38BA
square
#BA4938 #68BA38 #38A9BA #8A38BA
split-complementary
#BA4938 #38BA8A #3868BA
monochromatic
#5C241C #8B372A #BA4938 #CF6F60 #DD998F

Accessibility & contrast

On white

5.12
#BA4938 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#BA4938 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4938
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4938#FFFFFF#000000##FFFFFF
##BA49381.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675E36
Deuteranopia (green-blind)
#837735
Tritanopia (blue-blind)
#CC3046
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba4938;
/* rgb */ color: rgb(186, 73, 56);
/* oklch */ color: oklch(55.4% 0.150 30.9);
Tailwind
colors: {
  custom: {
    50: '#d6806f',
    500: '#ba4938',
    950: '#000000',
  },
}
SCSS
$custom: #ba4938;
$custom-light: #d6806f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4938",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 56
  },
  "hsl": {
    "h": 7.846,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55408,
    "c": 0.14975,
    "h": 30.9
  },
  "luminance": 0.1549
}

Semantic roles & 50–950 ramp

primary
#BA4938
secondary
#86BFC8
accent
#CADD4B
background
#FEF8F6
surface
#FCEFEC
border
#D5CAC7
text
#160A07
muted
#847C7A

Preview Lab

Preview with #BA4938

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

Preview Lab → · Contrast checker → · Palette generator →

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