#BA2E2D#BA2E2D

#BA2E2D is a mid, vivid red. Relative luminance 0.126; OKLCH L 52.2% C 0.177 H 26.2°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#BA2E2D
RGBrgb(186, 46, 45)
HSLhsl(0, 61%, 45%)
HSVhsv(0, 76%, 73%)
CMYKcmyk(0%, 75.3%, 75.8%, 27.1%)
CIE-LABlab(42.13, 55.04, 35.05)
CIE-LCHlch(42.13, 65.25, 32.49°)
OKLaboklab(52.24% 0.159 0.0781)
OKLCHoklch(52.24% 0.177 26.2)
XYZxyz(21.7029, 12.5859, 3.7687)
Luminance0.1258 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2E2D #2DB9BA
analogous
#BA2D72 #BA2E2D #BA752D
triadic
#BA2E2D #2DBA2E #2E2DBA
tetradic
#BA2E2D #72BA2D #2DB9BA #752DBA
square
#BA2E2D #72BA2D #2DB9BA #752DBA
split-complementary
#BA2E2D #2DBA75 #2D72BA
monochromatic
#571615 #892221 #BA2E2D #D55150 #E08281

Accessibility & contrast

On white

5.97
#BA2E2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#BA2E2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2E2D
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2E2D#FFFFFF#000000##FFFFFF
##BA2E2D1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58502B
Deuteranopia (green-blind)
#7B6E28
Tritanopia (blue-blind)
#CD0030
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba2e2d;
/* rgb */ color: rgb(186, 46, 45);
/* oklch */ color: oklch(52.2% 0.177 26.2);
Tailwind
colors: {
  custom: {
    50: '#d87266',
    500: '#ba2e2d',
    950: '#000000',
  },
}
SCSS
$custom: #ba2e2d;
$custom-light: #d87266;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2e2d",
  "rgb": {
    "r": 186,
    "g": 46,
    "b": 45
  },
  "hsl": {
    "h": 0.426,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52238,
    "c": 0.17709,
    "h": 26.2
  },
  "luminance": 0.12583
}

Semantic roles & 50–950 ramp

primary
#BA2E2D
secondary
#79C9C9
accent
#E3E444
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #BA2E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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