#BA2F2E#BA2F2E

#BA2F2E is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.3% C 0.176 H 26.1°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#BA2F2E
RGBrgb(186, 47, 46)
HSLhsl(0, 60%, 45%)
HSVhsv(0, 75%, 73%)
CMYKcmyk(0%, 74.7%, 75.3%, 27.1%)
CIE-LABlab(42.27, 54.74, 34.62)
CIE-LCHlch(42.27, 64.77, 32.31°)
OKLaboklab(52.34% 0.1582 0.0774)
OKLCHoklch(52.34% 0.176 26.1)
XYZxyz(21.7619, 12.6728, 3.8845)
Luminance0.1267 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2F2E #2EB9BA
analogous
#BA2E73 #BA2F2E #BA752E
triadic
#BA2F2E #2EBA2F #2F2EBA
tetradic
#BA2F2E #73BA2E #2EB9BA #752EBA
square
#BA2F2E #73BA2E #2EB9BA #752EBA
split-complementary
#BA2F2E #2EBA75 #2E73BA
monochromatic
#581616 #892322 #BA2F2E #D45251 #E08382

Accessibility & contrast

On white

5.94
#BA2F2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#BA2F2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2F2E
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2F2E#FFFFFF#000000##FFFFFF
##BA2F2E1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59512C
Deuteranopia (green-blind)
#7B6F29
Tritanopia (blue-blind)
#CD0031
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2f2e;
/* rgb */ color: rgb(186, 47, 46);
/* oklch */ color: oklch(52.3% 0.176 26.1);
Tailwind
colors: {
  custom: {
    50: '#d87367',
    500: '#ba2f2e',
    950: '#000000',
  },
}
SCSS
$custom: #ba2f2e;
$custom-light: #d87367;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2f2e",
  "rgb": {
    "r": 186,
    "g": 47,
    "b": 46
  },
  "hsl": {
    "h": 0.429,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52341,
    "c": 0.17613,
    "h": 26.1
  },
  "luminance": 0.12669
}

Semantic roles & 50–950 ramp

primary
#BA2F2E
secondary
#7BC9C9
accent
#E2E344
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #BA2F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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