#BA4F48#BA4F48

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

Color values

HEX#BA4F48
RGBrgb(186, 79, 72)
HSLhsl(4, 45%, 51%)
HSVhsv(4, 61%, 73%)
CMYKcmyk(0%, 57.5%, 61.3%, 27.1%)
CIE-LABlab(47.63, 42.73, 25.80)
CIE-LCHlch(47.63, 49.91, 31.12°)
OKLaboklab(56.48% 0.1256 0.062)
OKLCHoklch(56.48% 0.14 26.3)
XYZxyz(24.2176, 16.5020, 8.0395)
Luminance0.1650 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4F48 #48B3BA
analogous
#BA487A #BA4F48 #BA8848
triadic
#BA4F48 #48BA4F #4F48BA
tetradic
#BA4F48 #7ABA48 #48B3BA #8848BA
square
#BA4F48 #7ABA48 #48B3BA #8848BA
split-complementary
#BA4F48 #48BA88 #487ABA
monochromatic
#622925 #8F3B36 #BA4F48 #CB7A74 #DCA4A1

Accessibility & contrast

On white

4.88
#BA4F48 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA4F48
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4F48#FFFFFF#000000##FFFFFF
##BA4F481.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba4f48;
/* rgb */ color: rgb(186, 79, 72);
/* oklch */ color: oklch(56.5% 0.140 26.3);
Tailwind
colors: {
  custom: {
    50: '#d5847b',
    500: '#ba4f48',
    950: '#000000',
  },
}
SCSS
$custom: #ba4f48;
$custom-light: #d5847b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4f48",
  "rgb": {
    "r": 186,
    "g": 79,
    "b": 72
  },
  "hsl": {
    "h": 3.684,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56484,
    "c": 0.14007,
    "h": 26.3
  },
  "luminance": 0.16499
}

Semantic roles & 50–950 ramp

primary
#BA4F48
secondary
#96C5C8
accent
#CDD553
background
#FDF8F7
surface
#FBEFED
border
#D4CAC8
text
#150B09
muted
#837C7B

Preview Lab

Preview with #BA4F48

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

Preview Lab → · Contrast checker → · Palette generator →

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