#BA272F#BA272F

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

Color values

HEX#BA272F
RGBrgb(186, 39, 47)
HSLhsl(357, 65%, 44%)
HSVhsv(357, 79%, 73%)
CMYKcmyk(0%, 79%, 74.7%, 27.1%)
CIE-LABlab(41.37, 57.31, 33.03)
CIE-LCHlch(41.37, 66.15, 29.96°)
OKLaboklab(51.68% 0.1666 0.0742)
OKLCHoklch(51.68% 0.182 24)
XYZxyz(21.4909, 12.0988, 3.8925)
Luminance0.1210 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA272F #27BAB2
analogous
#BA2779 #BA272F #BA6927
triadic
#BA272F #2FBA27 #272FBA
tetradic
#BA272F #79BA27 #27BAB2 #6927BA
square
#BA272F #79BA27 #27BAB2 #6927BA
split-complementary
#BA272F #27BA69 #2779BA
monochromatic
#551215 #871C22 #BA272F #D8464E #E3797E

Accessibility & contrast

On white

6.14
#BA272F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA272F
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA272F#FFFFFF#000000##FFFFFF
##BA272F1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D2E
Deuteranopia (green-blind)
#796D29
Tritanopia (blue-blind)
#CD002C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ba272f;
/* rgb */ color: rgb(186, 39, 47);
/* oklch */ color: oklch(51.7% 0.182 24.0);
Tailwind
colors: {
  custom: {
    50: '#d86f68',
    500: '#ba272f',
    950: '#000000',
  },
}
SCSS
$custom: #ba272f;
$custom-light: #d86f68;
$custom-dark: #000000;
JSON
{
  "hex": "#ba272f",
  "rgb": {
    "r": 186,
    "g": 39,
    "b": 47
  },
  "hsl": {
    "h": 356.735,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51681,
    "c": 0.18236,
    "h": 24
  },
  "luminance": 0.12095
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA272F

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

Preview Lab → · Contrast checker → · Palette generator →

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