#BA4223#BA4223

#BA4223 is a mid, vivid red. Relative luminance 0.145; OKLCH L 54.3% C 0.161 H 35.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#BA4223
RGBrgb(186, 66, 35)
HSLhsl(12, 68%, 43%)
HSVhsv(12, 81%, 73%)
CMYKcmyk(0%, 64.5%, 81.2%, 27.1%)
CIE-LABlab(44.89, 46.88, 43.28)
CIE-LCHlch(44.89, 63.81, 42.71°)
OKLaboklab(54.27% 0.1315 0.093)
OKLCHoklch(54.27% 0.161 35.3)
XYZxyz(22.5038, 14.4602, 3.1959)
Luminance0.1446 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4223 #239BBA
analogous
#BA234F #BA4223 #BA8D23
triadic
#BA4223 #23BA42 #4223BA
tetradic
#BA4223 #4FBA23 #239BBA #8D23BA
square
#BA4223 #4FBA23 #239BBA #8D23BA
split-complementary
#BA4223 #23BA8D #234FBA
monochromatic
#531D10 #863019 #BA4223 #DB5F3F #E58A73

Accessibility & contrast

On white

5.40
#BA4223 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#BA4223 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4223
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4223#FFFFFF#000000##FFFFFF
##BA42231.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64591E
Deuteranopia (green-blind)
#82741E
Tritanopia (blue-blind)
#CD203C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba4223;
/* rgb */ color: rgb(186, 66, 35);
/* oklch */ color: oklch(54.3% 0.161 35.3);
Tailwind
colors: {
  custom: {
    50: '#d77c61',
    500: '#ba4223',
    950: '#000000',
  },
}
SCSS
$custom: #ba4223;
$custom-light: #d77c61;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4223",
  "rgb": {
    "r": 186,
    "g": 66,
    "b": 35
  },
  "hsl": {
    "h": 12.318,
    "s": 68.326,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54268,
    "c": 0.16112,
    "h": 35.3
  },
  "luminance": 0.14457
}

Semantic roles & 50–950 ramp

primary
#BA4223
secondary
#6DB8CC
accent
#C7EB3D
background
#FEF7F5
surface
#FDEEEA
border
#D5C9C6
text
#160A05
muted
#847C79

Preview Lab

Preview with #BA4223

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

Preview Lab → · Contrast checker → · Palette generator →

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