#BA2C3D#BA2C3D

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

Color values

HEX#BA2C3D
RGBrgb(186, 44, 61)
HSLhsl(353, 62%, 45%)
HSVhsv(353, 76%, 73%)
CMYKcmyk(0%, 76.3%, 67.2%, 27.1%)
CIE-LABlab(42.12, 56.44, 25.47)
CIE-LCHlch(42.12, 61.92, 24.29°)
OKLaboklab(52.31% 0.1669 0.06)
OKLCHoklch(52.31% 0.177 19.8)
XYZxyz(21.9951, 12.5807, 5.6841)
Luminance0.1258 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2C3D #2CBAA9
analogous
#BA2C84 #BA2C3D #BA622C
triadic
#BA2C3D #3DBA2C #2C3DBA
tetradic
#BA2C3D #84BA2C #2CBAA9 #622CBA
square
#BA2C3D #84BA2C #2CBAA9 #622CBA
split-complementary
#BA2C3D #2CBA62 #2C84BA
monochromatic
#57151D #89202D #BA2C3D #D54E5E #E1808B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA2C3D#FFFFFF#000000##FFFFFF
##BA2C3D1.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)
#55503D
Deuteranopia (green-blind)
#796E39
Tritanopia (blue-blind)
#CC0034
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba2c3d;
/* rgb */ color: rgb(186, 44, 61);
/* oklch */ color: oklch(52.3% 0.177 19.8);
Tailwind
colors: {
  custom: {
    50: '#d77272',
    500: '#ba2c3d',
    950: '#000000',
  },
}
SCSS
$custom: #ba2c3d;
$custom-light: #d77272;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2c3d",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 61
  },
  "hsl": {
    "h": 352.817,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52305,
    "c": 0.17734,
    "h": 19.8
  },
  "luminance": 0.12577
}

Semantic roles & 50–950 ramp

primary
#BA2C3D
secondary
#78CAC0
accent
#E5D143
background
#FEF7F6
surface
#FCEDEC
border
#D5C8C7
text
#160908
muted
#847B7B

Preview Lab

Preview with #BA2C3D

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

Preview Lab → · Contrast checker → · Palette generator →

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