#BA3F38#BA3F38

#BA3F38 is a mid, vivid red. Relative luminance 0.143; OKLCH L 54.2% C 0.160 H 27.0°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#BA3F38
RGBrgb(186, 63, 56)
HSLhsl(3, 54%, 47%)
HSVhsv(3, 70%, 73%)
CMYKcmyk(0%, 66.1%, 69.9%, 27.1%)
CIE-LABlab(44.64, 49.05, 31.52)
CIE-LCHlch(44.64, 58.31, 32.72°)
OKLaboklab(54.15% 0.1424 0.0727)
OKLCHoklch(54.15% 0.16 27)
XYZxyz(22.7434, 14.2829, 5.2999)
Luminance0.1428 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3F38 #38B3BA
analogous
#BA3872 #BA3F38 #BA8038
triadic
#BA3F38 #38BA3F #3F38BA
tetradic
#BA3F38 #72BA38 #38B3BA #8038BA
square
#BA3F38 #72BA38 #38B3BA #8038BA
split-complementary
#BA3F38 #38BA80 #3872BA
monochromatic
#5C1F1C #8B2F2A #BA3F38 #CF6660 #DD938F

Accessibility & contrast

On white

5.45
#BA3F38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#BA3F38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3F38
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3F38#FFFFFF#000000##FFFFFF
##BA3F381.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615936
Deuteranopia (green-blind)
#807334
Tritanopia (blue-blind)
#CC1F3E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba3f38;
/* rgb */ color: rgb(186, 63, 56);
/* oklch */ color: oklch(54.2% 0.160 27.0);
Tailwind
colors: {
  custom: {
    50: '#d67b6f',
    500: '#ba3f38',
    950: '#000000',
  },
}
SCSS
$custom: #ba3f38;
$custom-light: #d67b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3f38",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 56
  },
  "hsl": {
    "h": 3.231,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54154,
    "c": 0.15988,
    "h": 27
  },
  "luminance": 0.1428
}

Semantic roles & 50–950 ramp

primary
#BA3F38
secondary
#86C4C8
accent
#D5DD4B
background
#FEF7F6
surface
#FCEEEC
border
#D5C9C7
text
#160A07
muted
#847C7A

Preview Lab

Preview with #BA3F38

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

Preview Lab → · Contrast checker → · Palette generator →

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