#BA2B29#BA2B29

#BA2B29 is a mid, vivid red. Relative luminance 0.123; OKLCH L 51.9% C 0.180 H 26.8°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#BA2B29
RGBrgb(186, 43, 41)
HSLhsl(1, 64%, 45%)
HSVhsv(1, 78%, 73%)
CMYKcmyk(0%, 76.9%, 78%, 27.1%)
CIE-LABlab(41.74, 55.86, 36.91)
CIE-LCHlch(41.74, 66.96, 33.45°)
OKLaboklab(51.93% 0.1607 0.081)
OKLCHoklch(51.93% 0.18 26.8)
XYZxyz(21.5164, 12.3304, 3.3445)
Luminance0.1233 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2B29 #29B8BA
analogous
#BA296F #BA2B29 #BA7429
triadic
#BA2B29 #29BA2B #2B29BA
tetradic
#BA2B29 #6FBA29 #29B8BA #7429BA
square
#BA2B29 #6FBA29 #29B8BA #7429BA
split-complementary
#BA2B29 #29BA74 #296FBA
monochromatic
#561413 #881F1E #BA2B29 #D74B49 #E27D7B

Accessibility & contrast

On white

6.06
#BA2B29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#BA2B29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2B29
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2B29#FFFFFF#000000##FFFFFF
##BA2B291.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574F27
Deuteranopia (green-blind)
#7A6E23
Tritanopia (blue-blind)
#CD002D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ba2b29;
/* rgb */ color: rgb(186, 43, 41);
/* oklch */ color: oklch(51.9% 0.180 26.8);
Tailwind
colors: {
  custom: {
    50: '#d87163',
    500: '#ba2b29',
    950: '#000000',
  },
}
SCSS
$custom: #ba2b29;
$custom-light: #d87163;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2b29",
  "rgb": {
    "r": 186,
    "g": 43,
    "b": 41
  },
  "hsl": {
    "h": 0.828,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51929,
    "c": 0.17998,
    "h": 26.8
  },
  "luminance": 0.12327
}

Semantic roles & 50–950 ramp

primary
#BA2B29
secondary
#75C9CA
accent
#E5E741
background
#FEF7F5
surface
#FDEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #BA2B29

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

Preview Lab → · Contrast checker → · Palette generator →

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