#BA4A2D#BA4A2D

#BA4A2D is a mid, vivid red. Relative luminance 0.155; OKLCH L 55.4% C 0.151 H 35.5°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#BA4A2D
RGBrgb(186, 74, 45)
HSLhsl(12, 61%, 45%)
HSVhsv(12, 76%, 73%)
CMYKcmyk(0%, 60.2%, 75.8%, 27.1%)
CIE-LABlab(46.35, 43.61, 39.61)
CIE-LCHlch(46.35, 58.91, 42.25°)
OKLaboklab(55.4% 0.1233 0.088)
OKLCHoklch(55.4% 0.151 35.5)
XYZxyz(23.1746, 15.5293, 4.2593)
Luminance0.1553 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4A2D #2D9DBA
analogous
#BA2D57 #BA4A2D #BA902D
triadic
#BA4A2D #2DBA4A #4A2DBA
tetradic
#BA4A2D #57BA2D #2D9DBA #902DBA
square
#BA4A2D #57BA2D #2D9DBA #902DBA
split-complementary
#BA4A2D #2DBA90 #2D57BA
monochromatic
#572315 #893621 #BA4A2D #D56B50 #E09581

Accessibility & contrast

On white

5.12
#BA4A2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#BA4A2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4A2D
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4A2D#FFFFFF#000000##FFFFFF
##BA4A2D1.005.124.115.12
#FFFFFF5.121.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695E29
Deuteranopia (green-blind)
#857729
Tritanopia (blue-blind)
#CC3044
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba4a2d;
/* rgb */ color: rgb(186, 74, 45);
/* oklch */ color: oklch(55.4% 0.151 35.5);
Tailwind
colors: {
  custom: {
    50: '#d68167',
    500: '#ba4a2d',
    950: '#000000',
  },
}
SCSS
$custom: #ba4a2d;
$custom-light: #d68167;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4a2d",
  "rgb": {
    "r": 186,
    "g": 74,
    "b": 45
  },
  "hsl": {
    "h": 12.34,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55403,
    "c": 0.15142,
    "h": 35.5
  },
  "luminance": 0.15526
}

Semantic roles & 50–950 ramp

primary
#BA4A2D
secondary
#79B9C9
accent
#C3E444
background
#FEF8F6
surface
#FCEFEB
border
#D5CAC6
text
#160A06
muted
#847C7A

Preview Lab

Preview with #BA4A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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