#BA4F47#BA4F47

#BA4F47 is a mid, vivid red. Relative luminance 0.165; OKLCH L 56.5% C 0.140 H 26.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#BA4F47
RGBrgb(186, 79, 71)
HSLhsl(4, 45%, 50%)
HSVhsv(4, 62%, 73%)
CMYKcmyk(0%, 57.5%, 61.8%, 27.1%)
CIE-LABlab(47.61, 42.66, 26.36)
CIE-LCHlch(47.61, 50.15, 31.72°)
OKLaboklab(56.47% 0.1252 0.0632)
OKLCHoklch(56.47% 0.14 26.8)
XYZxyz(24.1852, 16.4890, 7.8691)
Luminance0.1649 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4F47 #47B2BA
analogous
#BA4778 #BA4F47 #BA8847
triadic
#BA4F47 #47BA4F #4F47BA
tetradic
#BA4F47 #78BA47 #47B2BA #8847BA
square
#BA4F47 #78BA47 #47B2BA #8847BA
split-complementary
#BA4F47 #47BA88 #4778BA
monochromatic
#622925 #8E3C35 #BA4F47 #CB7A74 #DBA4A0

Accessibility & contrast

On white

4.89
#BA4F47 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#BA4F47 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4F47
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4F47#FFFFFF#000000##FFFFFF
##BA4F471.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A6346
Deuteranopia (green-blind)
#857A44
Tritanopia (blue-blind)
#CB3B4E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba4f47;
/* rgb */ color: rgb(186, 79, 71);
/* oklch */ color: oklch(56.5% 0.140 26.8);
Tailwind
colors: {
  custom: {
    50: '#d5847a',
    500: '#ba4f47',
    950: '#000000',
  },
}
SCSS
$custom: #ba4f47;
$custom-light: #d5847a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4f47",
  "rgb": {
    "r": 186,
    "g": 79,
    "b": 71
  },
  "hsl": {
    "h": 4.174,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56466,
    "c": 0.14025,
    "h": 26.8
  },
  "luminance": 0.16486
}

Semantic roles & 50–950 ramp

primary
#BA4F47
secondary
#95C4C8
accent
#CCD553
background
#FDF8F7
surface
#FBEFED
border
#D4CAC8
text
#150B09
muted
#837C7B

Preview Lab

Preview with #BA4F47

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

Preview Lab → · Contrast checker → · Palette generator →

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