#BA422D#BA422D

#BA422D is a mid, vivid red. Relative luminance 0.145; OKLCH L 54.4% C 0.159 H 32.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#BA422D
RGBrgb(186, 66, 45)
HSLhsl(9, 61%, 45%)
HSVhsv(9, 76%, 73%)
CMYKcmyk(0%, 64.5%, 75.8%, 27.1%)
CIE-LABlab(44.98, 47.25, 38.15)
CIE-LCHlch(44.98, 60.73, 38.92°)
OKLaboklab(54.37% 0.1345 0.0848)
OKLCHoklch(54.37% 0.159 32.2)
XYZxyz(22.6740, 14.5282, 4.0924)
Luminance0.1452 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA422D #2DA5BA
analogous
#BA2D5F #BA422D #BA882D
triadic
#BA422D #2DBA42 #422DBA
tetradic
#BA422D #5FBA2D #2DA5BA #882DBA
square
#BA422D #5FBA2D #2DA5BA #882DBA
split-complementary
#BA422D #2DBA88 #2D5FBA
monochromatic
#571F15 #893121 #BA422D #D56350 #E08F81

Accessibility & contrast

On white

5.38
#BA422D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#BA422D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA422D
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA422D#FFFFFF#000000##FFFFFF
##BA422D1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645A2A
Deuteranopia (green-blind)
#817429
Tritanopia (blue-blind)
#CD223E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba422d;
/* rgb */ color: rgb(186, 66, 45);
/* oklch */ color: oklch(54.4% 0.159 32.2);
Tailwind
colors: {
  custom: {
    50: '#d77c67',
    500: '#ba422d',
    950: '#000000',
  },
}
SCSS
$custom: #ba422d;
$custom-light: #d77c67;
$custom-dark: #000000;
JSON
{
  "hex": "#ba422d",
  "rgb": {
    "r": 186,
    "g": 66,
    "b": 45
  },
  "hsl": {
    "h": 8.936,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54371,
    "c": 0.15903,
    "h": 32.2
  },
  "luminance": 0.14525
}

Semantic roles & 50–950 ramp

primary
#BA422D
secondary
#79BDC9
accent
#CCE444
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160A06
muted
#847C7A

Preview Lab

Preview with #BA422D

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

Preview Lab → · Contrast checker → · Palette generator →

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