#BA4D47#BA4D47

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

Color values

HEX#BA4D47
RGBrgb(186, 77, 71)
HSLhsl(3, 45%, 50%)
HSVhsv(3, 62%, 73%)
CMYKcmyk(0%, 58.6%, 61.8%, 27.1%)
CIE-LABlab(47.24, 43.62, 25.90)
CIE-LCHlch(47.24, 50.73, 30.70°)
OKLaboklab(56.19% 0.1282 0.0621)
OKLCHoklch(56.19% 0.142 25.8)
XYZxyz(24.0431, 16.2049, 7.8218)
Luminance0.1620 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4D47 #47B4BA
analogous
#BA477B #BA4D47 #BA8647
triadic
#BA4D47 #47BA4D #4D47BA
tetradic
#BA4D47 #7BBA47 #47B4BA #8647BA
square
#BA4D47 #7BBA47 #47B4BA #8647BA
split-complementary
#BA4D47 #47BA86 #477BBA
monochromatic
#622825 #8E3A35 #BA4D47 #CB7874 #DBA3A0

Accessibility & contrast

On white

4.95
#BA4D47 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#BA4D47 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4D47
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4D47#FFFFFF#000000##FFFFFF
##BA4D471.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#696146
Deuteranopia (green-blind)
#847944
Tritanopia (blue-blind)
#CB384C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba4d47;
/* rgb */ color: rgb(186, 77, 71);
/* oklch */ color: oklch(56.2% 0.142 25.8);
Tailwind
colors: {
  custom: {
    50: '#d5837a',
    500: '#ba4d47',
    950: '#000000',
  },
}
SCSS
$custom: #ba4d47;
$custom-light: #d5837a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4d47",
  "rgb": {
    "r": 186,
    "g": 77,
    "b": 71
  },
  "hsl": {
    "h": 3.13,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56189,
    "c": 0.14248,
    "h": 25.8
  },
  "luminance": 0.16202
}

Semantic roles & 50–950 ramp

primary
#BA4D47
secondary
#95C5C8
accent
#CED553
background
#FDF8F7
surface
#FBEFED
border
#D4CAC8
text
#150B09
muted
#837C7B

Preview Lab

Preview with #BA4D47

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

Preview Lab → · Contrast checker → · Palette generator →

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