#BA4138#BA4138

#BA4138 is a mid, vivid red. Relative luminance 0.145; OKLCH L 54.4% C 0.158 H 27.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#BA4138
RGBrgb(186, 65, 56)
HSLhsl(4, 54%, 47%)
HSVhsv(4, 70%, 73%)
CMYKcmyk(0%, 65.1%, 69.9%, 27.1%)
CIE-LABlab(44.95, 48.20, 31.90)
CIE-LCHlch(44.95, 57.80, 33.50°)
OKLaboklab(54.39% 0.1397 0.0735)
OKLCHoklch(54.39% 0.158 27.8)
XYZxyz(22.8562, 14.5084, 5.3375)
Luminance0.1451 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4138 #38B1BA
analogous
#BA3870 #BA4138 #BA8238
triadic
#BA4138 #38BA41 #4138BA
tetradic
#BA4138 #70BA38 #38B1BA #8238BA
square
#BA4138 #70BA38 #38B1BA #8238BA
split-complementary
#BA4138 #38BA82 #3870BA
monochromatic
#5C201C #8B312A #BA4138 #CF6860 #DD958F

Accessibility & contrast

On white

5.38
#BA4138 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA4138
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4138#FFFFFF#000000##FFFFFF
##BA41381.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625A36
Deuteranopia (green-blind)
#807434
Tritanopia (blue-blind)
#CC2340
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba4138;
/* rgb */ color: rgb(186, 65, 56);
/* oklch */ color: oklch(54.4% 0.158 27.8);
Tailwind
colors: {
  custom: {
    50: '#d67c6f',
    500: '#ba4138',
    950: '#000000',
  },
}
SCSS
$custom: #ba4138;
$custom-light: #d67c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4138",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 56
  },
  "hsl": {
    "h": 4.154,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54393,
    "c": 0.15787,
    "h": 27.8
  },
  "luminance": 0.14505
}

Semantic roles & 50–950 ramp

primary
#BA4138
secondary
#86C3C8
accent
#D3DD4B
background
#FEF7F6
surface
#FCEEEC
border
#D5C9C7
text
#160A07
muted
#847C7A

Preview Lab

Preview with #BA4138

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

Preview Lab → · Contrast checker → · Palette generator →

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