#BA3A27#BA3A27

#BA3A27 is a mid, vivid red. Relative luminance 0.136; OKLCH L 53.4% C 0.168 H 31.4°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#BA3A27
RGBrgb(186, 58, 39)
HSLhsl(8, 65%, 44%)
HSVhsv(8, 79%, 73%)
CMYKcmyk(0%, 68.8%, 79%, 27.1%)
CIE-LABlab(43.68, 50.38, 40.02)
CIE-LCHlch(43.68, 64.34, 38.46°)
OKLaboklab(53.37% 0.1431 0.0872)
OKLCHoklch(53.37% 0.168 31.4)
XYZxyz(22.1315, 13.6150, 3.3817)
Luminance0.1361 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3A27 #27A7BA
analogous
#BA275E #BA3A27 #BA8427
triadic
#BA3A27 #27BA3A #3A27BA
tetradic
#BA3A27 #5EBA27 #27A7BA #8427BA
square
#BA3A27 #5EBA27 #27A7BA #8427BA
split-complementary
#BA3A27 #27BA84 #275EBA
monochromatic
#551A12 #872A1C #BA3A27 #D85946 #E38679

Accessibility & contrast

On white

5.64
#BA3A27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#BA3A27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3A27
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3A27#FFFFFF#000000##FFFFFF
##BA3A271.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5524
Deuteranopia (green-blind)
#7F7222
Tritanopia (blue-blind)
#CD0D37
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba3a27;
/* rgb */ color: rgb(186, 58, 39);
/* oklch */ color: oklch(53.4% 0.168 31.4);
Tailwind
colors: {
  custom: {
    50: '#d77863',
    500: '#ba3a27',
    950: '#000000',
  },
}
SCSS
$custom: #ba3a27;
$custom-light: #d77863;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3a27",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 39
  },
  "hsl": {
    "h": 7.755,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53371,
    "c": 0.1676,
    "h": 31.4
  },
  "luminance": 0.13612
}

Semantic roles & 50–950 ramp

primary
#BA3A27
secondary
#72BFCB
accent
#D2E840
background
#FEF7F5
surface
#FDEEEA
border
#D5C9C6
text
#160905
muted
#847B79

Preview Lab

Preview with #BA3A27

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

Preview Lab → · Contrast checker → · Palette generator →

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