#BA272B#BA272B

#BA272B is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.6% C 0.183 H 25.3°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#BA272B
RGBrgb(186, 39, 43)
HSLhsl(358, 65%, 44%)
HSVhsv(358, 79%, 73%)
CMYKcmyk(0%, 79%, 76.9%, 27.1%)
CIE-LABlab(41.32, 57.16, 35.32)
CIE-LCHlch(41.32, 67.19, 31.72°)
OKLaboklab(51.63% 0.1652 0.0781)
OKLCHoklch(51.63% 0.183 25.3)
XYZxyz(21.4138, 12.0680, 3.4869)
Luminance0.1206 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA272B #27BAB6
analogous
#BA2775 #BA272B #BA6D27
triadic
#BA272B #2BBA27 #272BBA
tetradic
#BA272B #75BA27 #27BAB6 #6D27BA
square
#BA272B #75BA27 #27BAB6 #6D27BA
split-complementary
#BA272B #27BA6D #2775BA
monochromatic
#551214 #871C1F #BA272B #D8464A #E3797B

Accessibility & contrast

On white

6.15
#BA272B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#BA272B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA272B
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA272B#FFFFFF#000000##FFFFFF
##BA272B1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D29
Deuteranopia (green-blind)
#796D25
Tritanopia (blue-blind)
#CD002B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ba272b;
/* rgb */ color: rgb(186, 39, 43);
/* oklch */ color: oklch(51.6% 0.183 25.3);
Tailwind
colors: {
  custom: {
    50: '#d86f65',
    500: '#ba272b',
    950: '#000000',
  },
}
SCSS
$custom: #ba272b;
$custom-light: #d86f65;
$custom-dark: #000000;
JSON
{
  "hex": "#ba272b",
  "rgb": {
    "r": 186,
    "g": 39,
    "b": 43
  },
  "hsl": {
    "h": 358.367,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51629,
    "c": 0.18277,
    "h": 25.3
  },
  "luminance": 0.12065
}

Semantic roles & 50–950 ramp

primary
#BA272B
secondary
#72CBC8
accent
#E8E440
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160805
muted
#847B7A

Preview Lab

Preview with #BA272B

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

Preview Lab → · Contrast checker → · Palette generator →

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