#BA5138#BA5138

#BA5138 is a mid, vivid red. Relative luminance 0.166; OKLCH L 56.5% C 0.142 H 34.7°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#BA5138
RGBrgb(186, 81, 56)
HSLhsl(12, 54%, 47%)
HSVhsv(12, 70%, 73%)
CMYKcmyk(0%, 56.5%, 69.9%, 27.1%)
CIE-LABlab(47.77, 40.76, 35.18)
CIE-LCHlch(47.77, 53.84, 40.79°)
OKLaboklab(56.52% 0.1165 0.0807)
OKLCHoklch(56.52% 0.142 34.7)
XYZxyz(23.9083, 16.6126, 5.6882)
Luminance0.1661 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5138 #38A1BA
analogous
#BA3860 #BA5138 #BA9238
triadic
#BA5138 #38BA51 #5138BA
tetradic
#BA5138 #60BA38 #38A1BA #9238BA
square
#BA5138 #60BA38 #38A1BA #9238BA
split-complementary
#BA5138 #38BA92 #3860BA
monochromatic
#5C281C #8B3D2A #BA5138 #CF7560 #DD9E8F

Accessibility & contrast

On white

4.86
#BA5138 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#BA5138 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA5138
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5138#FFFFFF#000000##FFFFFF
##BA51381.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6335
Deuteranopia (green-blind)
#877A35
Tritanopia (blue-blind)
#CC3B4B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba5138;
/* rgb */ color: rgb(186, 81, 56);
/* oklch */ color: oklch(56.5% 0.142 34.7);
Tailwind
colors: {
  custom: {
    50: '#d5856f',
    500: '#ba5138',
    950: '#000000',
  },
}
SCSS
$custom: #ba5138;
$custom-light: #d5856f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5138",
  "rgb": {
    "r": 186,
    "g": 81,
    "b": 56
  },
  "hsl": {
    "h": 11.538,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56516,
    "c": 0.14173,
    "h": 34.7
  },
  "luminance": 0.16609
}

Semantic roles & 50–950 ramp

primary
#BA5138
secondary
#86BBC8
accent
#C1DD4B
background
#FEF8F6
surface
#FCEFEC
border
#D5CAC7
text
#160B07
muted
#847C7A

Preview Lab

Preview with #BA5138

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

Preview Lab → · Contrast checker → · Palette generator →

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