#BA3E31#BA3E31

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

Color values

HEX#BA3E31
RGBrgb(186, 62, 49)
HSLhsl(6, 58%, 46%)
HSVhsv(6, 74%, 73%)
CMYKcmyk(0%, 66.7%, 73.7%, 27.1%)
CIE-LABlab(44.39, 49.14, 35.27)
CIE-LCHlch(44.39, 60.48, 35.67°)
OKLaboklab(53.94% 0.1412 0.0795)
OKLCHoklch(53.94% 0.162 29.4)
XYZxyz(22.5292, 14.1094, 4.4422)
Luminance0.1411 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3E31 #31ADBA
analogous
#BA3168 #BA3E31 #BA8231
triadic
#BA3E31 #31BA3E #3E31BA
tetradic
#BA3E31 #68BA31 #31ADBA #8231BA
square
#BA3E31 #68BA31 #31ADBA #8231BA
split-complementary
#BA3E31 #31BA82 #3168BA
monochromatic
#591E17 #8A2E24 #BA3E31 #D26256 #DF8F86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3E31#FFFFFF#000000##FFFFFF
##BA3E311.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)
#61582F
Deuteranopia (green-blind)
#80732D
Tritanopia (blue-blind)
#CD1B3C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba3e31;
/* rgb */ color: rgb(186, 62, 49);
/* oklch */ color: oklch(53.9% 0.162 29.4);
Tailwind
colors: {
  custom: {
    50: '#d77a6a',
    500: '#ba3e31',
    950: '#000000',
  },
}
SCSS
$custom: #ba3e31;
$custom-light: #d77a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3e31",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 49
  },
  "hsl": {
    "h": 5.693,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53941,
    "c": 0.16207,
    "h": 29.4
  },
  "luminance": 0.14106
}

Semantic roles & 50–950 ramp

primary
#BA3E31
secondary
#7EC2C9
accent
#D3E246
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160A06
muted
#847C7A

Preview Lab

Preview with #BA3E31

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

Preview Lab → · Contrast checker → · Palette generator →

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