#BA3A2E#BA3A2E

#BA3A2E is a mid, vivid red. Relative luminance 0.137; OKLCH L 53.4% C 0.166 H 29.1°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#BA3A2E
RGBrgb(186, 58, 46)
HSLhsl(5, 60%, 45%)
HSVhsv(5, 75%, 73%)
CMYKcmyk(0%, 68.8%, 75.3%, 27.1%)
CIE-LABlab(43.75, 50.65, 36.26)
CIE-LCHlch(43.75, 62.29, 35.59°)
OKLaboklab(53.45% 0.1454 0.0809)
OKLCHoklch(53.45% 0.166 29.1)
XYZxyz(22.2584, 13.6658, 4.0500)
Luminance0.1366 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3A2E #2EAEBA
analogous
#BA2E68 #BA3A2E #BA802E
triadic
#BA3A2E #2EBA3A #3A2EBA
tetradic
#BA3A2E #68BA2E #2EAEBA #802EBA
square
#BA3A2E #68BA2E #2EAEBA #802EBA
split-complementary
#BA3A2E #2EBA80 #2E68BA
monochromatic
#581B16 #892B22 #BA3A2E #D45C51 #E08A82

Accessibility & contrast

On white

5.63
#BA3A2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#BA3A2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3A2E
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3A2E#FFFFFF#000000##FFFFFF
##BA3A2E1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F562C
Deuteranopia (green-blind)
#7F7229
Tritanopia (blue-blind)
#CD0F38
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba3a2e;
/* rgb */ color: rgb(186, 58, 46);
/* oklch */ color: oklch(53.4% 0.166 29.1);
Tailwind
colors: {
  custom: {
    50: '#d77867',
    500: '#ba3a2e',
    950: '#000000',
  },
}
SCSS
$custom: #ba3a2e;
$custom-light: #d77867;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3a2e",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 46
  },
  "hsl": {
    "h": 5.143,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.5345,
    "c": 0.16638,
    "h": 29.1
  },
  "luminance": 0.13662
}

Semantic roles & 50–950 ramp

primary
#BA3A2E
secondary
#7BC2C9
accent
#D6E344
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #BA3A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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