#BA3E2F#BA3E2F

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

Color values

HEX#BA3E2F
RGBrgb(186, 62, 47)
HSLhsl(6, 60%, 46%)
HSVhsv(6, 75%, 73%)
CMYKcmyk(0%, 66.7%, 74.7%, 27.1%)
CIE-LABlab(44.37, 49.05, 36.37)
CIE-LCHlch(44.37, 61.06, 36.56°)
OKLaboklab(53.92% 0.1406 0.0814)
OKLCHoklch(53.92% 0.162 30.1)
XYZxyz(22.4879, 14.0929, 4.2248)
Luminance0.1409 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3E2F #2FABBA
analogous
#BA2F65 #BA3E2F #BA832F
triadic
#BA3E2F #2FBA3E #3E2FBA
tetradic
#BA3E2F #65BA2F #2FABBA #832FBA
square
#BA3E2F #65BA2F #2FABBA #832FBA
split-complementary
#BA3E2F #2FBA83 #2F65BA
monochromatic
#581D16 #892E23 #BA3E2F #D36153 #E08E84

Accessibility & contrast

On white

5.50
#BA3E2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#BA3E2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3E2F
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3E2F#FFFFFF#000000##FFFFFF
##BA3E2F1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61582C
Deuteranopia (green-blind)
#80732B
Tritanopia (blue-blind)
#CD1A3B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba3e2f;
/* rgb */ color: rgb(186, 62, 47);
/* oklch */ color: oklch(53.9% 0.162 30.1);
Tailwind
colors: {
  custom: {
    50: '#d77a68',
    500: '#ba3e2f',
    950: '#000000',
  },
}
SCSS
$custom: #ba3e2f;
$custom-light: #d77a68;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3e2f",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 47
  },
  "hsl": {
    "h": 6.475,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53915,
    "c": 0.16244,
    "h": 30.1
  },
  "luminance": 0.1409
}

Semantic roles & 50–950 ramp

primary
#BA3E2F
secondary
#7CC1C9
accent
#D2E345
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160A06
muted
#847C7A

Preview Lab

Preview with #BA3E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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