#BA272D#BA272D

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

Color values

HEX#BA272D
RGBrgb(186, 39, 45)
HSLhsl(358, 65%, 44%)
HSVhsv(358, 79%, 73%)
CMYKcmyk(0%, 79%, 75.8%, 27.1%)
CIE-LABlab(41.35, 57.23, 34.18)
CIE-LCHlch(41.35, 66.66, 30.85°)
OKLaboklab(51.65% 0.1659 0.0762)
OKLCHoklch(51.65% 0.183 24.7)
XYZxyz(21.4514, 12.0830, 3.6849)
Luminance0.1208 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA272D #27BAB4
analogous
#BA2777 #BA272D #BA6B27
triadic
#BA272D #2DBA27 #272DBA
tetradic
#BA272D #77BA27 #27BAB4 #6B27BA
square
#BA272D #77BA27 #27BAB4 #6B27BA
split-complementary
#BA272D #27BA6B #2777BA
monochromatic
#551215 #871C21 #BA272D #D8464C #E3797D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA272D#FFFFFF#000000##FFFFFF
##BA272D1.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)
#554D2C
Deuteranopia (green-blind)
#796D27
Tritanopia (blue-blind)
#CD002B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ba272d;
/* rgb */ color: rgb(186, 39, 45);
/* oklch */ color: oklch(51.7% 0.183 24.7);
Tailwind
colors: {
  custom: {
    50: '#d86f66',
    500: '#ba272d',
    950: '#000000',
  },
}
SCSS
$custom: #ba272d;
$custom-light: #d86f66;
$custom-dark: #000000;
JSON
{
  "hex": "#ba272d",
  "rgb": {
    "r": 186,
    "g": 39,
    "b": 45
  },
  "hsl": {
    "h": 357.551,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51655,
    "c": 0.18255,
    "h": 24.7
  },
  "luminance": 0.1208
}

Semantic roles & 50–950 ramp

primary
#BA272D
secondary
#72CBC7
accent
#E8E140
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160806
muted
#847B7A

Preview Lab

Preview with #BA272D

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

Preview Lab → · Contrast checker → · Palette generator →

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