#BA4227#BA4227

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

Color values

HEX#BA4227
RGBrgb(186, 66, 39)
HSLhsl(11, 65%, 44%)
HSVhsv(11, 79%, 73%)
CMYKcmyk(0%, 64.5%, 79%, 27.1%)
CIE-LABlab(44.92, 47.02, 41.28)
CIE-LCHlch(44.92, 62.57, 41.28°)
OKLaboklab(54.31% 0.1327 0.0899)
OKLCHoklch(54.31% 0.16 34.1)
XYZxyz(22.5666, 14.4853, 3.5267)
Luminance0.1448 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4227 #279FBA
analogous
#BA2756 #BA4227 #BA8B27
triadic
#BA4227 #27BA42 #4227BA
tetradic
#BA4227 #56BA27 #279FBA #8B27BA
square
#BA4227 #56BA27 #279FBA #8B27BA
split-complementary
#BA4227 #27BA8B #2756BA
monochromatic
#551E12 #87301C #BA4227 #D86146 #E38C79

Accessibility & contrast

On white

5.39
#BA4227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA4227
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4227#FFFFFF#000000##FFFFFF
##BA42271.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645A23
Deuteranopia (green-blind)
#827422
Tritanopia (blue-blind)
#CD213D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba4227;
/* rgb */ color: rgb(186, 66, 39);
/* oklch */ color: oklch(54.3% 0.160 34.1);
Tailwind
colors: {
  custom: {
    50: '#d77c63',
    500: '#ba4227',
    950: '#000000',
  },
}
SCSS
$custom: #ba4227;
$custom-light: #d77c63;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4227",
  "rgb": {
    "r": 186,
    "g": 66,
    "b": 39
  },
  "hsl": {
    "h": 11.02,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54306,
    "c": 0.16029,
    "h": 34.1
  },
  "luminance": 0.14482
}

Semantic roles & 50–950 ramp

primary
#BA4227
secondary
#72BACB
accent
#C9E840
background
#FEF7F6
surface
#FDEEEB
border
#D5C9C6
text
#160A05
muted
#847C7A

Preview Lab

Preview with #BA4227

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

Preview Lab → · Contrast checker → · Palette generator →

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