#BA4947#BA4947

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

Color values

HEX#BA4947
RGBrgb(186, 73, 71)
HSLhsl(1, 45%, 50%)
HSVhsv(1, 62%, 73%)
CMYKcmyk(0%, 60.8%, 61.8%, 27.1%)
CIE-LABlab(46.53, 45.51, 24.99)
CIE-LCHlch(46.53, 51.92, 28.77°)
OKLaboklab(55.65% 0.1342 0.06)
OKLCHoklch(55.65% 0.147 24.1)
XYZxyz(23.7718, 15.6622, 7.7313)
Luminance0.1566 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4947 #47B8BA
analogous
#BA477F #BA4947 #BA8247
triadic
#BA4947 #47BA49 #4947BA
tetradic
#BA4947 #7FBA47 #47B8BA #8247BA
square
#BA4947 #7FBA47 #47B8BA #8247BA
split-complementary
#BA4947 #47BA82 #477FBA
monochromatic
#622625 #8E3735 #BA4947 #CB7574 #DBA1A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA4947#FFFFFF#000000##FFFFFF
##BA49471.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)
#665F46
Deuteranopia (green-blind)
#827744
Tritanopia (blue-blind)
#CB3349
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba4947;
/* rgb */ color: rgb(186, 73, 71);
/* oklch */ color: oklch(55.7% 0.147 24.1);
Tailwind
colors: {
  custom: {
    50: '#d5807a',
    500: '#ba4947',
    950: '#000000',
  },
}
SCSS
$custom: #ba4947;
$custom-light: #d5807a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4947",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 71
  },
  "hsl": {
    "h": 1.043,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55651,
    "c": 0.14698,
    "h": 24.1
  },
  "luminance": 0.15659
}

Semantic roles & 50–950 ramp

primary
#BA4947
secondary
#95C7C8
accent
#D3D553
background
#FDF8F7
surface
#FBEFED
border
#D4CAC8
text
#150B09
muted
#837C7B

Preview Lab

Preview with #BA4947

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

Preview Lab → · Contrast checker → · Palette generator →

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