#BA5338#BA5338

#BA5338 is a mid, vivid red. Relative luminance 0.169; OKLCH L 56.8% C 0.140 H 35.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#BA5338
RGBrgb(186, 83, 56)
HSLhsl(12, 54%, 47%)
HSVhsv(12, 70%, 73%)
CMYKcmyk(0%, 55.4%, 69.9%, 27.1%)
CIE-LABlab(48.15, 39.77, 35.62)
CIE-LCHlch(48.15, 53.39, 41.85°)
OKLaboklab(56.81% 0.1135 0.0816)
OKLCHoklch(56.81% 0.14 35.7)
XYZxyz(24.0591, 16.9142, 5.7384)
Luminance0.1691 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5338 #389FBA
analogous
#BA385E #BA5338 #BA9438
triadic
#BA5338 #38BA53 #5338BA
tetradic
#BA5338 #5EBA38 #389FBA #9438BA
square
#BA5338 #5EBA38 #389FBA #9438BA
split-complementary
#BA5338 #38BA94 #385EBA
monochromatic
#5C291C #8B3E2A #BA5338 #CF7760 #DD9F8F

Accessibility & contrast

On white

4.79
#BA5338 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#BA5338 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA5338
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5338#FFFFFF#000000##FFFFFF
##BA53381.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6435
Deuteranopia (green-blind)
#887B35
Tritanopia (blue-blind)
#CC3E4D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba5338;
/* rgb */ color: rgb(186, 83, 56);
/* oklch */ color: oklch(56.8% 0.140 35.7);
Tailwind
colors: {
  custom: {
    50: '#d5866f',
    500: '#ba5338',
    950: '#000000',
  },
}
SCSS
$custom: #ba5338;
$custom-light: #d5866f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5338",
  "rgb": {
    "r": 186,
    "g": 83,
    "b": 56
  },
  "hsl": {
    "h": 12.462,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56807,
    "c": 0.13979,
    "h": 35.7
  },
  "luminance": 0.16911
}

Semantic roles & 50–950 ramp

primary
#BA5338
secondary
#86BAC8
accent
#BFDD4B
background
#FEF8F6
surface
#FCF0EC
border
#D5CBC7
text
#160B07
muted
#847C7A

Preview Lab

Preview with #BA5338

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

Preview Lab → · Contrast checker → · Palette generator →

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