#BA4948#BA4948

#BA4948 is a mid, vivid red. Relative luminance 0.157; OKLCH L 55.7% C 0.147 H 23.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#BA4948
RGBrgb(186, 73, 72)
HSLhsl(1, 45%, 51%)
HSVhsv(1, 61%, 73%)
CMYKcmyk(0%, 60.8%, 61.3%, 27.1%)
CIE-LABlab(46.55, 45.57, 24.41)
CIE-LCHlch(46.55, 51.70, 28.18°)
OKLaboklab(55.67% 0.1346 0.0588)
OKLCHoklch(55.67% 0.147 23.6)
XYZxyz(23.8041, 15.6752, 7.9017)
Luminance0.1567 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4948 #48B9BA
analogous
#BA4880 #BA4948 #BA8248
triadic
#BA4948 #48BA49 #4948BA
tetradic
#BA4948 #80BA48 #48B9BA #8248BA
square
#BA4948 #80BA48 #48B9BA #8248BA
split-complementary
#BA4948 #48BA82 #4880BA
monochromatic
#622625 #8F3736 #BA4948 #CB7574 #DCA1A1

Accessibility & contrast

On white

5.08
#BA4948 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#BA4948 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4948
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4948#FFFFFF#000000##FFFFFF
##BA49481.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665F47
Deuteranopia (green-blind)
#827745
Tritanopia (blue-blind)
#CB334A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba4948;
/* rgb */ color: rgb(186, 73, 72);
/* oklch */ color: oklch(55.7% 0.147 23.6);
Tailwind
colors: {
  custom: {
    50: '#d5807b',
    500: '#ba4948',
    950: '#000000',
  },
}
SCSS
$custom: #ba4948;
$custom-light: #d5807b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4948",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 72
  },
  "hsl": {
    "h": 0.526,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5567,
    "c": 0.14685,
    "h": 23.6
  },
  "luminance": 0.15672
}

Semantic roles & 50–950 ramp

primary
#BA4948
secondary
#96C8C8
accent
#D4D553
background
#FDF8F7
surface
#FBEFED
border
#D4CAC8
text
#150B09
muted
#837C7B

Preview Lab

Preview with #BA4948

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

Preview Lab → · Contrast checker → · Palette generator →

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