#BA3F27#BA3F27

#BA3F27 is a mid, vivid red. Relative luminance 0.141; OKLCH L 53.9% C 0.163 H 33.0°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#BA3F27
RGBrgb(186, 63, 39)
HSLhsl(10, 65%, 44%)
HSVhsv(10, 79%, 73%)
CMYKcmyk(0%, 66.1%, 79%, 27.1%)
CIE-LABlab(44.44, 48.31, 40.80)
CIE-LCHlch(44.44, 63.23, 40.18°)
OKLaboklab(53.94% 0.1367 0.0889)
OKLCHoklch(53.94% 0.163 33)
XYZxyz(22.3959, 14.1439, 3.4698)
Luminance0.1414 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3F27 #27A2BA
analogous
#BA2759 #BA3F27 #BA8927
triadic
#BA3F27 #27BA3F #3F27BA
tetradic
#BA3F27 #59BA27 #27A2BA #8927BA
square
#BA3F27 #59BA27 #27A2BA #8927BA
split-complementary
#BA3F27 #27BA89 #2759BA
monochromatic
#551D12 #872E1C #BA3F27 #D85E46 #E38A79

Accessibility & contrast

On white

5.49
#BA3F27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#BA3F27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3F27
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3F27#FFFFFF#000000##FFFFFF
##BA3F271.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625823
Deuteranopia (green-blind)
#817322
Tritanopia (blue-blind)
#CD1B3A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba3f27;
/* rgb */ color: rgb(186, 63, 39);
/* oklch */ color: oklch(53.9% 0.163 33.0);
Tailwind
colors: {
  custom: {
    50: '#d77a63',
    500: '#ba3f27',
    950: '#000000',
  },
}
SCSS
$custom: #ba3f27;
$custom-light: #d77a63;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3f27",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 39
  },
  "hsl": {
    "h": 9.796,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53943,
    "c": 0.16305,
    "h": 33
  },
  "luminance": 0.14141
}

Semantic roles & 50–950 ramp

primary
#BA3F27
secondary
#72BCCB
accent
#CDE840
background
#FEF7F5
surface
#FDEEEA
border
#D5C9C6
text
#160A05
muted
#847C79

Preview Lab

Preview with #BA3F27

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

Preview Lab → · Contrast checker → · Palette generator →

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