#BA3E42#BA3E42

#BA3E42 is a mid, vivid red. Relative luminance 0.143; OKLCH L 54.2% C 0.160 H 22.4°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#BA3E42
RGBrgb(186, 62, 66)
HSLhsl(358, 50%, 49%)
HSVhsv(358, 67%, 73%)
CMYKcmyk(0%, 66.7%, 64.5%, 27.1%)
CIE-LABlab(44.63, 50.04, 25.58)
CIE-LCHlch(44.63, 56.20, 27.07°)
OKLaboklab(54.2% 0.1475 0.0609)
OKLCHoklch(54.2% 0.16 22.4)
XYZxyz(22.9580, 14.2809, 6.7008)
Luminance0.1428 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3E42 #3EBAB6
analogous
#BA3E80 #BA3E42 #BA783E
triadic
#BA3E42 #42BA3E #3E42BA
tetradic
#BA3E42 #80BA3E #3EBAB6 #783EBA
square
#BA3E42 #80BA3E #3EBAB6 #783EBA
split-complementary
#BA3E42 #3EBA78 #3E80BA
monochromatic
#5E1F21 #8C2F32 #BA3E42 #CD686C #DC9699

Accessibility & contrast

On white

5.45
#BA3E42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#BA3E42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3E42
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3E42#FFFFFF#000000##FFFFFF
##BA3E421.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5941
Deuteranopia (green-blind)
#7E733F
Tritanopia (blue-blind)
#CC2041
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba3e42;
/* rgb */ color: rgb(186, 62, 66);
/* oklch */ color: oklch(54.2% 0.160 22.4);
Tailwind
colors: {
  custom: {
    50: '#d67a76',
    500: '#ba3e42',
    950: '#000000',
  },
}
SCSS
$custom: #ba3e42;
$custom-light: #d67a76;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3e42",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 66
  },
  "hsl": {
    "h": 358.065,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54201,
    "c": 0.15959,
    "h": 22.4
  },
  "luminance": 0.14278
}

Semantic roles & 50–950 ramp

primary
#BA3E42
secondary
#8CC8C6
accent
#DAD54E
background
#FEF7F7
surface
#FCEEED
border
#D5C9C8
text
#160A08
muted
#847C7B

Preview Lab

Preview with #BA3E42

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

Preview Lab → · Contrast checker → · Palette generator →

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