#BA272E#BA272E

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

Color values

HEX#BA272E
RGBrgb(186, 39, 46)
HSLhsl(357, 65%, 44%)
HSVhsv(357, 79%, 73%)
CMYKcmyk(0%, 79%, 75.3%, 27.1%)
CIE-LABlab(41.36, 57.27, 33.61)
CIE-LCHlch(41.36, 66.41, 30.41°)
OKLaboklab(51.67% 0.1662 0.0752)
OKLCHoklch(51.67% 0.182 24.3)
XYZxyz(21.4709, 12.0908, 3.7875)
Luminance0.1209 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA272E #27BAB3
analogous
#BA2778 #BA272E #BA6A27
triadic
#BA272E #2EBA27 #272EBA
tetradic
#BA272E #78BA27 #27BAB3 #6A27BA
square
#BA272E #78BA27 #27BAB3 #6A27BA
split-complementary
#BA272E #27BA6A #2778BA
monochromatic
#551215 #871C21 #BA272E #D8464D #E3797E

Accessibility & contrast

On white

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

On black

3.42
#BA272E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA272E#FFFFFF#000000##FFFFFF
##BA272E1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D2D
Deuteranopia (green-blind)
#796D28
Tritanopia (blue-blind)
#CD002B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ba272e;
/* rgb */ color: rgb(186, 39, 46);
/* oklch */ color: oklch(51.7% 0.182 24.3);
Tailwind
colors: {
  custom: {
    50: '#d86f67',
    500: '#ba272e',
    950: '#000000',
  },
}
SCSS
$custom: #ba272e;
$custom-light: #d86f67;
$custom-dark: #000000;
JSON
{
  "hex": "#ba272e",
  "rgb": {
    "r": 186,
    "g": 39,
    "b": 46
  },
  "hsl": {
    "h": 357.143,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51668,
    "c": 0.18245,
    "h": 24.3
  },
  "luminance": 0.12087
}

Semantic roles & 50–950 ramp

primary
#BA272E
secondary
#72CBC6
accent
#E8E040
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160806
muted
#847B7A

Preview Lab

Preview with #BA272E

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

Preview Lab → · Contrast checker → · Palette generator →

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