#BA3F28#BA3F28

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

Color values

HEX#BA3F28
RGBrgb(186, 63, 40)
HSLhsl(9, 65%, 44%)
HSVhsv(9, 78%, 73%)
CMYKcmyk(0%, 66.1%, 78.5%, 27.1%)
CIE-LABlab(44.45, 48.35, 40.28)
CIE-LCHlch(44.45, 62.93, 39.80°)
OKLaboklab(53.95% 0.137 0.0881)
OKLCHoklch(53.95% 0.163 32.7)
XYZxyz(22.4127, 14.1506, 3.5582)
Luminance0.1415 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3F28 #28A3BA
analogous
#BA285A #BA3F28 #BA8828
triadic
#BA3F28 #28BA3F #3F28BA
tetradic
#BA3F28 #5ABA28 #28A3BA #8828BA
square
#BA3F28 #5ABA28 #28A3BA #8828BA
split-complementary
#BA3F28 #28BA88 #285ABA
monochromatic
#551D12 #882E1D #BA3F28 #D85E48 #E28A7A

Accessibility & contrast

On white

5.48
#BA3F28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA3F28
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3F28#FFFFFF#000000##FFFFFF
##BA3F281.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625824
Deuteranopia (green-blind)
#817323
Tritanopia (blue-blind)
#CD1B3B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba3f28;
/* rgb */ color: rgb(186, 63, 40);
/* oklch */ color: oklch(54.0% 0.163 32.7);
Tailwind
colors: {
  custom: {
    50: '#d77a64',
    500: '#ba3f28',
    950: '#000000',
  },
}
SCSS
$custom: #ba3f28;
$custom-light: #d77a64;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3f28",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 40
  },
  "hsl": {
    "h": 9.452,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53954,
    "c": 0.16286,
    "h": 32.7
  },
  "luminance": 0.14147
}

Semantic roles & 50–950 ramp

primary
#BA3F28
secondary
#73BDCA
accent
#CDE840
background
#FEF7F6
surface
#FDEEEB
border
#D5C9C6
text
#160A05
muted
#847C7A

Preview Lab

Preview with #BA3F28

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

Preview Lab → · Contrast checker → · Palette generator →

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