#BA2C3E#BA2C3E

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

Color values

HEX#BA2C3E
RGBrgb(186, 44, 62)
HSLhsl(352, 62%, 45%)
HSVhsv(352, 76%, 73%)
CMYKcmyk(0%, 76.3%, 66.7%, 27.1%)
CIE-LABlab(42.14, 56.49, 24.87)
CIE-LCHlch(42.14, 61.72, 23.76°)
OKLaboklab(52.32% 0.1673 0.0588)
OKLCHoklch(52.32% 0.177 19.4)
XYZxyz(22.0223, 12.5916, 5.8273)
Luminance0.1259 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2C3E #2CBAA8
analogous
#BA2C85 #BA2C3E #BA612C
triadic
#BA2C3E #3EBA2C #2C3EBA
tetradic
#BA2C3E #85BA2C #2CBAA8 #612CBA
square
#BA2C3E #85BA2C #2CBAA8 #612CBA
split-complementary
#BA2C3E #2CBA61 #2C85BA
monochromatic
#57151D #89202E #BA2C3E #D54E5F #E1808C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA2C3E#FFFFFF#000000##FFFFFF
##BA2C3E1.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)
#55503E
Deuteranopia (green-blind)
#796E3A
Tritanopia (blue-blind)
#CC0034
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba2c3e;
/* rgb */ color: rgb(186, 44, 62);
/* oklch */ color: oklch(52.3% 0.177 19.4);
Tailwind
colors: {
  custom: {
    50: '#d77273',
    500: '#ba2c3e',
    950: '#000000',
  },
}
SCSS
$custom: #ba2c3e;
$custom-light: #d77273;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2c3e",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 62
  },
  "hsl": {
    "h": 352.394,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52323,
    "c": 0.1773,
    "h": 19.4
  },
  "luminance": 0.12588
}

Semantic roles & 50–950 ramp

primary
#BA2C3E
secondary
#78CABF
accent
#E5D043
background
#FEF7F6
surface
#FCEDEC
border
#D5C8C7
text
#160908
muted
#847B7B

Preview Lab

Preview with #BA2C3E

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

Preview Lab → · Contrast checker → · Palette generator →

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