#BA4127#BA4127

#BA4127 is a mid, vivid red. Relative luminance 0.144; OKLCH L 54.2% C 0.161 H 33.8°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#BA4127
RGBrgb(186, 65, 39)
HSLhsl(11, 65%, 44%)
HSVhsv(11, 79%, 73%)
CMYKcmyk(0%, 65.1%, 79%, 27.1%)
CIE-LABlab(44.76, 47.45, 41.12)
CIE-LCHlch(44.76, 62.79, 40.91°)
OKLaboklab(54.18% 0.134 0.0896)
OKLCHoklch(54.18% 0.161 33.8)
XYZxyz(22.5087, 14.3695, 3.5074)
Luminance0.1437 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4127 #27A0BA
analogous
#BA2757 #BA4127 #BA8B27
triadic
#BA4127 #27BA41 #4127BA
tetradic
#BA4127 #57BA27 #27A0BA #8B27BA
square
#BA4127 #57BA27 #27A0BA #8B27BA
split-complementary
#BA4127 #27BA8B #2757BA
monochromatic
#551E12 #872F1C #BA4127 #D86046 #E38B79

Accessibility & contrast

On white

5.42
#BA4127 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#BA4127 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4127
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4127#FFFFFF#000000##FFFFFF
##BA41271.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645923
Deuteranopia (green-blind)
#817422
Tritanopia (blue-blind)
#CD1F3C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba4127;
/* rgb */ color: rgb(186, 65, 39);
/* oklch */ color: oklch(54.2% 0.161 33.8);
Tailwind
colors: {
  custom: {
    50: '#d77b63',
    500: '#ba4127',
    950: '#000000',
  },
}
SCSS
$custom: #ba4127;
$custom-light: #d77b63;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4127",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 39
  },
  "hsl": {
    "h": 10.612,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54184,
    "c": 0.16122,
    "h": 33.8
  },
  "luminance": 0.14366
}

Semantic roles & 50–950 ramp

primary
#BA4127
secondary
#72BBCB
accent
#CAE840
background
#FEF7F6
surface
#FDEEEB
border
#D5C9C6
text
#160A05
muted
#847C7A

Preview Lab

Preview with #BA4127

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

Preview Lab → · Contrast checker → · Palette generator →

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