#BA3F2F#BA3F2F

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

Color values

HEX#BA3F2F
RGBrgb(186, 63, 47)
HSLhsl(7, 60%, 46%)
HSVhsv(7, 75%, 73%)
CMYKcmyk(0%, 66.1%, 74.7%, 27.1%)
CIE-LABlab(44.52, 48.63, 36.54)
CIE-LCHlch(44.52, 60.83, 36.92°)
OKLaboklab(54.03% 0.1392 0.0818)
OKLCHoklch(54.03% 0.161 30.4)
XYZxyz(22.5428, 14.2026, 4.2431)
Luminance0.1420 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3F2F #2FAABA
analogous
#BA2F65 #BA3F2F #BA842F
triadic
#BA3F2F #2FBA3F #3F2FBA
tetradic
#BA3F2F #65BA2F #2FAABA #842FBA
square
#BA3F2F #65BA2F #2FAABA #842FBA
split-complementary
#BA3F2F #2FBA84 #2F65BA
monochromatic
#581E16 #892E23 #BA3F2F #D36253 #E08E84

Accessibility & contrast

On white

5.47
#BA3F2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA3F2F
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3F2F#FFFFFF#000000##FFFFFF
##BA3F2F1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62582C
Deuteranopia (green-blind)
#80732B
Tritanopia (blue-blind)
#CD1D3C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba3f2f;
/* rgb */ color: rgb(186, 63, 47);
/* oklch */ color: oklch(54.0% 0.161 30.4);
Tailwind
colors: {
  custom: {
    50: '#d77a68',
    500: '#ba3f2f',
    950: '#000000',
  },
}
SCSS
$custom: #ba3f2f;
$custom-light: #d77a68;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3f2f",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 47
  },
  "hsl": {
    "h": 6.906,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54033,
    "c": 0.16148,
    "h": 30.4
  },
  "luminance": 0.14199
}

Semantic roles & 50–950 ramp

primary
#BA3F2F
secondary
#7CC0C9
accent
#D1E345
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160A06
muted
#847C7A

Preview Lab

Preview with #BA3F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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