#BA2D32#BA2D32

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

Color values

HEX#BA2D32
RGBrgb(186, 45, 50)
HSLhsl(358, 61%, 45%)
HSVhsv(358, 76%, 73%)
CMYKcmyk(0%, 75.8%, 73.1%, 27.1%)
CIE-LABlab(42.08, 55.57, 32.06)
CIE-LCHlch(42.08, 64.16, 29.98°)
OKLaboklab(52.22% 0.1617 0.0727)
OKLCHoklch(52.22% 0.177 24.2)
XYZxyz(21.7663, 12.5495, 4.2932)
Luminance0.1255 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2D32 #2DBAB5
analogous
#BA2D79 #BA2D32 #BA6E2D
triadic
#BA2D32 #32BA2D #2D32BA
tetradic
#BA2D32 #79BA2D #2DBAB5 #6E2DBA
square
#BA2D32 #79BA2D #2DBAB5 #6E2DBA
split-complementary
#BA2D32 #2DBA6E #2D79BA
monochromatic
#571518 #892125 #BA2D32 #D55054 #E08184

Accessibility & contrast

On white

5.98
#BA2D32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#BA2D32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2D32
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2D32#FFFFFF#000000##FFFFFF
##BA2D321.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575031
Deuteranopia (green-blind)
#7A6E2D
Tritanopia (blue-blind)
#CD0031
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba2d32;
/* rgb */ color: rgb(186, 45, 50);
/* oklch */ color: oklch(52.2% 0.177 24.2);
Tailwind
colors: {
  custom: {
    50: '#d7726a',
    500: '#ba2d32',
    950: '#000000',
  },
}
SCSS
$custom: #ba2d32;
$custom-light: #d7726a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2d32",
  "rgb": {
    "r": 186,
    "g": 45,
    "b": 50
  },
  "hsl": {
    "h": 357.872,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52217,
    "c": 0.17734,
    "h": 24.2
  },
  "luminance": 0.12546
}

Semantic roles & 50–950 ramp

primary
#BA2D32
secondary
#79C9C7
accent
#E4DE44
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #BA2D32

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

Preview Lab → · Contrast checker → · Palette generator →

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