#BA4F3F#BA4F3F

#BA4F3F is a mid, vivid red. Relative luminance 0.164; OKLCH L 56.3% C 0.142 H 30.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#BA4F3F
RGBrgb(186, 79, 63)
HSLhsl(8, 49%, 49%)
HSVhsv(8, 66%, 73%)
CMYKcmyk(0%, 57.5%, 66.1%, 27.1%)
CIE-LABlab(47.49, 42.14, 30.87)
CIE-LCHlch(47.49, 52.24, 36.23°)
OKLaboklab(56.33% 0.1221 0.0723)
OKLCHoklch(56.33% 0.142 30.6)
XYZxyz(23.9452, 16.3930, 6.6049)
Luminance0.1639 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4F3F #3FAABA
analogous
#BA3F6D #BA4F3F #BA8D3F
triadic
#BA4F3F #3FBA4F #4F3FBA
tetradic
#BA4F3F #6DBA3F #3FAABA #8D3FBA
square
#BA4F3F #6DBA3F #3FAABA #8D3FBA
split-complementary
#BA4F3F #3FBA8D #3F6DBA
monochromatic
#5F2820 #8C3C30 #BA4F3F #CC776A #DCA097

Accessibility & contrast

On white

4.91
#BA4F3F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#BA4F3F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4F3F
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4F3F#FFFFFF#000000##FFFFFF
##BA4F3F1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B623D
Deuteranopia (green-blind)
#85793C
Tritanopia (blue-blind)
#CC3A4C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba4f3f;
/* rgb */ color: rgb(186, 79, 63);
/* oklch */ color: oklch(56.3% 0.142 30.6);
Tailwind
colors: {
  custom: {
    50: '#d58474',
    500: '#ba4f3f',
    950: '#000000',
  },
}
SCSS
$custom: #ba4f3f;
$custom-light: #d58474;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4f3f",
  "rgb": {
    "r": 186,
    "g": 79,
    "b": 63
  },
  "hsl": {
    "h": 7.805,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56333,
    "c": 0.14194,
    "h": 30.6
  },
  "luminance": 0.1639
}

Semantic roles & 50–950 ramp

primary
#BA4F3F
secondary
#8DC0C8
accent
#C7D94F
background
#FDF8F7
surface
#FBEFED
border
#D4CAC8
text
#150B08
muted
#837C7B

Preview Lab

Preview with #BA4F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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