#BA272A#BA272A

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

Color values

HEX#BA272A
RGBrgb(186, 39, 42)
HSLhsl(359, 65%, 44%)
HSVhsv(359, 79%, 73%)
CMYKcmyk(0%, 79%, 77.4%, 27.1%)
CIE-LABlab(41.31, 57.12, 35.89)
CIE-LCHlch(41.31, 67.46, 32.14°)
OKLaboklab(51.62% 0.1649 0.0791)
OKLCHoklch(51.62% 0.183 25.6)
XYZxyz(21.3957, 12.0607, 3.3914)
Luminance0.1206 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA272A #27BAB7
analogous
#BA2773 #BA272A #BA6E27
triadic
#BA272A #2ABA27 #272ABA
tetradic
#BA272A #73BA27 #27BAB7 #6E27BA
square
#BA272A #73BA27 #27BAB7 #6E27BA
split-complementary
#BA272A #27BA6E #2773BA
monochromatic
#551213 #871C1F #BA272A #D84649 #E3797B

Accessibility & contrast

On white

6.16
#BA272A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA272A
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA272A#FFFFFF#000000##FFFFFF
##BA272A1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D28
Deuteranopia (green-blind)
#796D24
Tritanopia (blue-blind)
#CD002A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ba272a;
/* rgb */ color: rgb(186, 39, 42);
/* oklch */ color: oklch(51.6% 0.183 25.6);
Tailwind
colors: {
  custom: {
    50: '#d86f64',
    500: '#ba272a',
    950: '#000000',
  },
}
SCSS
$custom: #ba272a;
$custom-light: #d86f64;
$custom-dark: #000000;
JSON
{
  "hex": "#ba272a",
  "rgb": {
    "r": 186,
    "g": 39,
    "b": 42
  },
  "hsl": {
    "h": 358.776,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51617,
    "c": 0.18288,
    "h": 25.6
  },
  "luminance": 0.12057
}

Semantic roles & 50–950 ramp

primary
#BA272A
secondary
#72CBC9
accent
#E8E540
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160805
muted
#847B7A

Preview Lab

Preview with #BA272A

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

Preview Lab → · Contrast checker → · Palette generator →

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