#BA4028#BA4028

#BA4028 is a mid, vivid red. Relative luminance 0.143; OKLCH L 54.1% C 0.162 H 33.1°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#BA4028
RGBrgb(186, 64, 40)
HSLhsl(10, 65%, 44%)
HSVhsv(10, 78%, 73%)
CMYKcmyk(0%, 65.6%, 78.5%, 27.1%)
CIE-LABlab(44.61, 47.92, 40.44)
CIE-LCHlch(44.61, 62.71, 40.16°)
OKLaboklab(54.07% 0.1357 0.0884)
OKLCHoklch(54.07% 0.162 33.1)
XYZxyz(22.4686, 14.2624, 3.5769)
Luminance0.1426 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4028 #28A2BA
analogous
#BA2859 #BA4028 #BA8928
triadic
#BA4028 #28BA40 #4028BA
tetradic
#BA4028 #59BA28 #28A2BA #8928BA
square
#BA4028 #59BA28 #28A2BA #8928BA
split-complementary
#BA4028 #28BA89 #2859BA
monochromatic
#551D12 #882F1D #BA4028 #D85F48 #E28B7A

Accessibility & contrast

On white

5.45
#BA4028 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#BA4028 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4028
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4028#FFFFFF#000000##FFFFFF
##BA40281.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635824
Deuteranopia (green-blind)
#817323
Tritanopia (blue-blind)
#CD1D3B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba4028;
/* rgb */ color: rgb(186, 64, 40);
/* oklch */ color: oklch(54.1% 0.162 33.1);
Tailwind
colors: {
  custom: {
    50: '#d77b64',
    500: '#ba4028',
    950: '#000000',
  },
}
SCSS
$custom: #ba4028;
$custom-light: #d77b64;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4028",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 40
  },
  "hsl": {
    "h": 9.863,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54073,
    "c": 0.16193,
    "h": 33.1
  },
  "luminance": 0.14259
}

Semantic roles & 50–950 ramp

primary
#BA4028
secondary
#73BCCA
accent
#CCE840
background
#FEF7F6
surface
#FDEEEB
border
#D5C9C6
text
#160A05
muted
#847C7A

Preview Lab

Preview with #BA4028

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

Preview Lab → · Contrast checker → · Palette generator →

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