#BA5137#BA5137

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

Color values

HEX#BA5137
RGBrgb(186, 81, 55)
HSLhsl(12, 54%, 47%)
HSVhsv(12, 70%, 73%)
CMYKcmyk(0%, 56.5%, 70.4%, 27.1%)
CIE-LABlab(47.76, 40.71, 35.72)
CIE-LCHlch(47.76, 54.16, 41.26°)
OKLaboklab(56.5% 0.1162 0.0817)
OKLCHoklch(56.5% 0.142 35.1)
XYZxyz(23.8841, 16.6029, 5.5607)
Luminance0.1660 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5137 #37A0BA
analogous
#BA375F #BA5137 #BA9237
triadic
#BA5137 #37BA51 #5137BA
tetradic
#BA5137 #5FBA37 #37A0BA #9237BA
square
#BA5137 #5FBA37 #37A0BA #9237BA
split-complementary
#BA5137 #37BA92 #375FBA
monochromatic
#5C281B #8B3C29 #BA5137 #D0755F #DE9E8E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA5137#FFFFFF#000000##FFFFFF
##BA51371.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)
#6D6334
Deuteranopia (green-blind)
#877A34
Tritanopia (blue-blind)
#CC3B4B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba5137;
/* rgb */ color: rgb(186, 81, 55);
/* oklch */ color: oklch(56.5% 0.142 35.1);
Tailwind
colors: {
  custom: {
    50: '#d5856f',
    500: '#ba5137',
    950: '#000000',
  },
}
SCSS
$custom: #ba5137;
$custom-light: #d5856f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5137",
  "rgb": {
    "r": 186,
    "g": 81,
    "b": 55
  },
  "hsl": {
    "h": 11.908,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56503,
    "c": 0.14202,
    "h": 35.1
  },
  "luminance": 0.166
}

Semantic roles & 50–950 ramp

primary
#BA5137
secondary
#85BBC8
accent
#C0DE4A
background
#FEF8F6
surface
#FCEFEC
border
#D5CAC7
text
#160B07
muted
#847C7A

Preview Lab

Preview with #BA5137

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

Preview Lab → · Contrast checker → · Palette generator →

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