#BA272C#BA272C

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

Color values

HEX#BA272C
RGBrgb(186, 39, 44)
HSLhsl(358, 65%, 44%)
HSVhsv(358, 79%, 73%)
CMYKcmyk(0%, 79%, 76.3%, 27.1%)
CIE-LABlab(41.34, 57.20, 34.75)
CIE-LCHlch(41.34, 66.93, 31.28°)
OKLaboklab(51.64% 0.1656 0.0772)
OKLCHoklch(51.64% 0.183 25)
XYZxyz(21.4324, 12.0754, 3.5847)
Luminance0.1207 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA272C #27BAB5
analogous
#BA2776 #BA272C #BA6C27
triadic
#BA272C #2CBA27 #272CBA
tetradic
#BA272C #76BA27 #27BAB5 #6C27BA
square
#BA272C #76BA27 #27BAB5 #6C27BA
split-complementary
#BA272C #27BA6C #2776BA
monochromatic
#551214 #871C20 #BA272C #D8464B #E3797C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA272C#FFFFFF#000000##FFFFFF
##BA272C1.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)
#554D2A
Deuteranopia (green-blind)
#796D26
Tritanopia (blue-blind)
#CD002B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ba272c;
/* rgb */ color: rgb(186, 39, 44);
/* oklch */ color: oklch(51.6% 0.183 25.0);
Tailwind
colors: {
  custom: {
    50: '#d86f65',
    500: '#ba272c',
    950: '#000000',
  },
}
SCSS
$custom: #ba272c;
$custom-light: #d86f65;
$custom-dark: #000000;
JSON
{
  "hex": "#ba272c",
  "rgb": {
    "r": 186,
    "g": 39,
    "b": 44
  },
  "hsl": {
    "h": 357.959,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51642,
    "c": 0.18266,
    "h": 25
  },
  "luminance": 0.12072
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA272C

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

Preview Lab → · Contrast checker → · Palette generator →

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