#BA4038#BA4038

#BA4038 is a mid, vivid red. Relative luminance 0.144; OKLCH L 54.3% C 0.159 H 27.4°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#BA4038
RGBrgb(186, 64, 56)
HSLhsl(4, 54%, 47%)
HSVhsv(4, 70%, 73%)
CMYKcmyk(0%, 65.6%, 69.9%, 27.1%)
CIE-LABlab(44.79, 48.63, 31.71)
CIE-LCHlch(44.79, 58.05, 33.11°)
OKLaboklab(54.27% 0.1411 0.0731)
OKLCHoklch(54.27% 0.159 27.4)
XYZxyz(22.7993, 14.3947, 5.3185)
Luminance0.1439 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4038 #38B2BA
analogous
#BA3871 #BA4038 #BA8138
triadic
#BA4038 #38BA40 #4038BA
tetradic
#BA4038 #71BA38 #38B2BA #8138BA
square
#BA4038 #71BA38 #38B2BA #8138BA
split-complementary
#BA4038 #38BA81 #3871BA
monochromatic
#5C201C #8B302A #BA4038 #CF6760 #DD948F

Accessibility & contrast

On white

5.41
#BA4038 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#BA4038 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4038
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4038#FFFFFF#000000##FFFFFF
##BA40381.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615936
Deuteranopia (green-blind)
#807434
Tritanopia (blue-blind)
#CC213F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba4038;
/* rgb */ color: rgb(186, 64, 56);
/* oklch */ color: oklch(54.3% 0.159 27.4);
Tailwind
colors: {
  custom: {
    50: '#d67b6f',
    500: '#ba4038',
    950: '#000000',
  },
}
SCSS
$custom: #ba4038;
$custom-light: #d67b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4038",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 56
  },
  "hsl": {
    "h": 3.692,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54273,
    "c": 0.15888,
    "h": 27.4
  },
  "luminance": 0.14391
}

Semantic roles & 50–950 ramp

primary
#BA4038
secondary
#86C4C8
accent
#D4DD4B
background
#FEF7F6
surface
#FCEEEC
border
#D5C9C7
text
#160A07
muted
#847C7A

Preview Lab

Preview with #BA4038

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

Preview Lab → · Contrast checker → · Palette generator →

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