#BA3B2D#BA3B2D

#BA3B2D is a mid, vivid red. Relative luminance 0.138; OKLCH L 53.5% C 0.166 H 29.8°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#BA3B2D
RGBrgb(186, 59, 45)
HSLhsl(6, 61%, 45%)
HSVhsv(6, 76%, 73%)
CMYKcmyk(0%, 68.3%, 75.8%, 27.1%)
CIE-LABlab(43.89, 50.21, 36.97)
CIE-LCHlch(43.89, 62.35, 36.36°)
OKLaboklab(53.55% 0.1438 0.0822)
OKLCHoklch(53.55% 0.166 29.8)
XYZxyz(22.2898, 13.7598, 3.9643)
Luminance0.1376 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3B2D #2DACBA
analogous
#BA2D66 #BA3B2D #BA812D
triadic
#BA3B2D #2DBA3B #3B2DBA
tetradic
#BA3B2D #66BA2D #2DACBA #812DBA
square
#BA3B2D #66BA2D #2DACBA #812DBA
split-complementary
#BA3B2D #2DBA81 #2D66BA
monochromatic
#571C15 #892B21 #BA3B2D #D55D50 #E08A81

Accessibility & contrast

On white

5.60
#BA3B2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#BA3B2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3B2D
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3B2D#FFFFFF#000000##FFFFFF
##BA3B2D1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F562A
Deuteranopia (green-blind)
#7F7228
Tritanopia (blue-blind)
#CD1239
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba3b2d;
/* rgb */ color: rgb(186, 59, 45);
/* oklch */ color: oklch(53.5% 0.166 29.8);
Tailwind
colors: {
  custom: {
    50: '#d77867',
    500: '#ba3b2d',
    950: '#000000',
  },
}
SCSS
$custom: #ba3b2d;
$custom-light: #d77867;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3b2d",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 45
  },
  "hsl": {
    "h": 5.957,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53549,
    "c": 0.16562,
    "h": 29.8
  },
  "luminance": 0.13756
}

Semantic roles & 50–950 ramp

primary
#BA3B2D
secondary
#79C1C9
accent
#D4E444
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #BA3B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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