#BA4F2D#BA4F2D

#BA4F2D is a mid, vivid red. Relative luminance 0.162; OKLCH L 56.1% C 0.147 H 37.9°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#BA4F2D
RGBrgb(186, 79, 45)
HSLhsl(14, 61%, 45%)
HSVhsv(14, 76%, 73%)
CMYKcmyk(0%, 57.5%, 75.8%, 27.1%)
CIE-LABlab(47.27, 41.22, 40.58)
CIE-LCHlch(47.27, 57.84, 44.55°)
OKLaboklab(56.1% 0.1159 0.0901)
OKLCHoklch(56.1% 0.147 37.9)
XYZxyz(23.5218, 16.2237, 4.3750)
Luminance0.1622 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4F2D #2D98BA
analogous
#BA2D51 #BA4F2D #BA952D
triadic
#BA4F2D #2DBA4F #4F2DBA
tetradic
#BA4F2D #51BA2D #2D98BA #952DBA
square
#BA4F2D #51BA2D #2D98BA #952DBA
split-complementary
#BA4F2D #2DBA95 #2D51BA
monochromatic
#572515 #893A21 #BA4F2D #D57050 #E09881

Accessibility & contrast

On white

4.95
#BA4F2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#BA4F2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4F2D
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4F2D#FFFFFF#000000##FFFFFF
##BA4F2D1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6129
Deuteranopia (green-blind)
#87792A
Tritanopia (blue-blind)
#CC3748
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba4f2d;
/* rgb */ color: rgb(186, 79, 45);
/* oklch */ color: oklch(56.1% 0.147 37.9);
Tailwind
colors: {
  custom: {
    50: '#d68468',
    500: '#ba4f2d',
    950: '#000000',
  },
}
SCSS
$custom: #ba4f2d;
$custom-light: #d68468;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4f2d",
  "rgb": {
    "r": 186,
    "g": 79,
    "b": 45
  },
  "hsl": {
    "h": 14.468,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56097,
    "c": 0.14675,
    "h": 37.9
  },
  "luminance": 0.16221
}

Semantic roles & 50–950 ramp

primary
#BA4F2D
secondary
#79B6C9
accent
#BDE444
background
#FEF8F6
surface
#FCEFEB
border
#D5CAC6
text
#160B06
muted
#847C7A

Preview Lab

Preview with #BA4F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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