#BA4527#BA4527

#BA4527 is a mid, vivid red. Relative luminance 0.148; OKLCH L 54.7% C 0.158 H 35.3°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#BA4527
RGBrgb(186, 69, 39)
HSLhsl(12, 65%, 44%)
HSVhsv(12, 79%, 73%)
CMYKcmyk(0%, 62.9%, 79%, 27.1%)
CIE-LABlab(45.42, 45.68, 41.79)
CIE-LCHlch(45.42, 61.91, 42.45°)
OKLaboklab(54.68% 0.1286 0.091)
OKLCHoklch(54.68% 0.158 35.3)
XYZxyz(22.7465, 14.8451, 3.5867)
Luminance0.1484 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4527 #279CBA
analogous
#BA2753 #BA4527 #BA8F27
triadic
#BA4527 #27BA45 #4527BA
tetradic
#BA4527 #53BA27 #279CBA #8F27BA
square
#BA4527 #53BA27 #279CBA #8F27BA
split-complementary
#BA4527 #27BA8F #2753BA
monochromatic
#551F12 #87321C #BA4527 #D86446 #E38E79

Accessibility & contrast

On white

5.29
#BA4527 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#BA4527 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4527
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4527#FFFFFF#000000##FFFFFF
##BA45271.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665B23
Deuteranopia (green-blind)
#837523
Tritanopia (blue-blind)
#CD273F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba4527;
/* rgb */ color: rgb(186, 69, 39);
/* oklch */ color: oklch(54.7% 0.158 35.3);
Tailwind
colors: {
  custom: {
    50: '#d77e63',
    500: '#ba4527',
    950: '#000000',
  },
}
SCSS
$custom: #ba4527;
$custom-light: #d77e63;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4527",
  "rgb": {
    "r": 186,
    "g": 69,
    "b": 39
  },
  "hsl": {
    "h": 12.245,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54683,
    "c": 0.15752,
    "h": 35.3
  },
  "luminance": 0.14842
}

Semantic roles & 50–950 ramp

primary
#BA4527
secondary
#72B9CB
accent
#C6E840
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160A05
muted
#847C7A

Preview Lab

Preview with #BA4527

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

Preview Lab → · Contrast checker → · Palette generator →

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