#BA3F2C#BA3F2C

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

Color values

HEX#BA3F2C
RGBrgb(186, 63, 44)
HSLhsl(8, 62%, 45%)
HSVhsv(8, 76%, 73%)
CMYKcmyk(0%, 66.1%, 76.3%, 27.1%)
CIE-LABlab(44.49, 48.50, 38.17)
CIE-LCHlch(44.49, 61.72, 38.20°)
OKLaboklab(54% 0.1383 0.0846)
OKLCHoklch(54% 0.162 31.5)
XYZxyz(22.4843, 14.1792, 3.9353)
Luminance0.1418 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3F2C #2CA7BA
analogous
#BA2C60 #BA3F2C #BA862C
triadic
#BA3F2C #2CBA3F #3F2CBA
tetradic
#BA3F2C #60BA2C #2CA7BA #862CBA
square
#BA3F2C #60BA2C #2CA7BA #862CBA
split-complementary
#BA3F2C #2CBA86 #2C60BA
monochromatic
#571D15 #892E20 #BA3F2C #D5604E #E18D80

Accessibility & contrast

On white

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

On black

3.84
#BA3F2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA3F2C#FFFFFF#000000##FFFFFF
##BA3F2C1.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625829
Deuteranopia (green-blind)
#807327
Tritanopia (blue-blind)
#CD1C3B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba3f2c;
/* rgb */ color: rgb(186, 63, 44);
/* oklch */ color: oklch(54.0% 0.162 31.5);
Tailwind
colors: {
  custom: {
    50: '#d77a66',
    500: '#ba3f2c',
    950: '#000000',
  },
}
SCSS
$custom: #ba3f2c;
$custom-light: #d77a66;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3f2c",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 44
  },
  "hsl": {
    "h": 8.028,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53997,
    "c": 0.16207,
    "h": 31.5
  },
  "luminance": 0.14176
}

Semantic roles & 50–950 ramp

primary
#BA3F2C
secondary
#78BFCA
accent
#CFE543
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160A06
muted
#847C7A

Preview Lab

Preview with #BA3F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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