#BA3927#BA3927

#BA3927 is a mid, vivid red. Relative luminance 0.135; OKLCH L 53.3% C 0.168 H 31.0°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#BA3927
RGBrgb(186, 57, 39)
HSLhsl(7, 65%, 44%)
HSVhsv(7, 79%, 73%)
CMYKcmyk(0%, 69.4%, 79%, 27.1%)
CIE-LABlab(43.53, 50.78, 39.87)
CIE-LCHlch(43.53, 64.57, 38.14°)
OKLaboklab(53.26% 0.1444 0.0869)
OKLCHoklch(53.26% 0.168 31)
XYZxyz(22.0816, 13.5152, 3.3650)
Luminance0.1351 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3927 #27A8BA
analogous
#BA275F #BA3927 #BA8327
triadic
#BA3927 #27BA39 #3927BA
tetradic
#BA3927 #5FBA27 #27A8BA #8327BA
square
#BA3927 #5FBA27 #27A8BA #8327BA
split-complementary
#BA3927 #27BA83 #275FBA
monochromatic
#551A12 #87291C #BA3927 #D85846 #E38679

Accessibility & contrast

On white

5.67
#BA3927 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#BA3927 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3927
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3927#FFFFFF#000000##FFFFFF
##BA39271.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba3927;
/* rgb */ color: rgb(186, 57, 39);
/* oklch */ color: oklch(53.3% 0.168 31.0);
Tailwind
colors: {
  custom: {
    50: '#d87763',
    500: '#ba3927',
    950: '#000000',
  },
}
SCSS
$custom: #ba3927;
$custom-light: #d87763;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3927",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 39
  },
  "hsl": {
    "h": 7.347,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53261,
    "c": 0.16849,
    "h": 31
  },
  "luminance": 0.13512
}

Semantic roles & 50–950 ramp

primary
#BA3927
secondary
#72C0CB
accent
#D4E840
background
#FEF7F5
surface
#FDEEEA
border
#D5C9C6
text
#160905
muted
#847B79

Preview Lab

Preview with #BA3927

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

Preview Lab → · Contrast checker → · Palette generator →

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