#BA3E38#BA3E38

#BA3E38 is a mid, vivid red. Relative luminance 0.142; OKLCH L 54.0% C 0.161 H 26.7°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#BA3E38
RGBrgb(186, 62, 56)
HSLhsl(3, 54%, 47%)
HSVhsv(3, 70%, 73%)
CMYKcmyk(0%, 66.7%, 69.9%, 27.1%)
CIE-LABlab(44.48, 49.47, 31.34)
CIE-LCHlch(44.48, 58.56, 32.35°)
OKLaboklab(54.04% 0.1437 0.0723)
OKLCHoklch(54.04% 0.161 26.7)
XYZxyz(22.6885, 14.1731, 5.2816)
Luminance0.1417 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3E38 #38B4BA
analogous
#BA3873 #BA3E38 #BA7F38
triadic
#BA3E38 #38BA3E #3E38BA
tetradic
#BA3E38 #73BA38 #38B4BA #7F38BA
square
#BA3E38 #73BA38 #38B4BA #7F38BA
split-complementary
#BA3E38 #38BA7F #3873BA
monochromatic
#5C1F1C #8B2E2A #BA3E38 #CF6560 #DD938F

Accessibility & contrast

On white

5.48
#BA3E38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#BA3E38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3E38
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3E38#FFFFFF#000000##FFFFFF
##BA3E381.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605836
Deuteranopia (green-blind)
#7F7334
Tritanopia (blue-blind)
#CC1D3E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba3e38;
/* rgb */ color: rgb(186, 62, 56);
/* oklch */ color: oklch(54.0% 0.161 26.7);
Tailwind
colors: {
  custom: {
    50: '#d67a6f',
    500: '#ba3e38',
    950: '#000000',
  },
}
SCSS
$custom: #ba3e38;
$custom-light: #d67a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3e38",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 56
  },
  "hsl": {
    "h": 2.769,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54038,
    "c": 0.16088,
    "h": 26.7
  },
  "luminance": 0.1417
}

Semantic roles & 50–950 ramp

primary
#BA3E38
secondary
#86C5C8
accent
#D6DD4B
background
#FEF7F6
surface
#FCEEEC
border
#D5C9C7
text
#160A07
muted
#847C7A

Preview Lab

Preview with #BA3E38

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

Preview Lab → · Contrast checker → · Palette generator →

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