#BA2C40#BA2C40

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

Color values

HEX#BA2C40
RGBrgb(186, 44, 64)
HSLhsl(352, 62%, 45%)
HSVhsv(352, 76%, 73%)
CMYKcmyk(0%, 76.3%, 65.6%, 27.1%)
CIE-LABlab(42.18, 56.60, 23.68)
CIE-LCHlch(42.18, 61.36, 22.71°)
OKLaboklab(52.36% 0.168 0.0564)
OKLCHoklch(52.36% 0.177 18.5)
XYZxyz(22.0782, 12.6140, 6.1217)
Luminance0.1261 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2C40 #2CBAA6
analogous
#BA2C87 #BA2C40 #BA5F2C
triadic
#BA2C40 #40BA2C #2C40BA
tetradic
#BA2C40 #87BA2C #2CBAA6 #5F2CBA
square
#BA2C40 #87BA2C #2CBAA6 #5F2CBA
split-complementary
#BA2C40 #2CBA5F #2C87BA
monochromatic
#57151E #89202F #BA2C40 #D54E61 #E1808D

Accessibility & contrast

On white

5.96
#BA2C40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2C40
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2C40#FFFFFF#000000##FFFFFF
##BA2C401.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555040
Deuteranopia (green-blind)
#796E3C
Tritanopia (blue-blind)
#CC0035
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2c40;
/* rgb */ color: rgb(186, 44, 64);
/* oklch */ color: oklch(52.4% 0.177 18.5);
Tailwind
colors: {
  custom: {
    50: '#d67274',
    500: '#ba2c40',
    950: '#000000',
  },
}
SCSS
$custom: #ba2c40;
$custom-light: #d67274;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2c40",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 64
  },
  "hsl": {
    "h": 351.549,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52359,
    "c": 0.17724,
    "h": 18.5
  },
  "luminance": 0.12611
}

Semantic roles & 50–950 ramp

primary
#BA2C40
secondary
#78CABE
accent
#E5CE43
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160908
muted
#847B7B

Preview Lab

Preview with #BA2C40

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

Preview Lab → · Contrast checker → · Palette generator →

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