#BA3D42#BA3D42

#BA3D42 is a mid, vivid red. Relative luminance 0.142; OKLCH L 54.1% C 0.161 H 22.1°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#BA3D42
RGBrgb(186, 61, 66)
HSLhsl(358, 51%, 48%)
HSVhsv(358, 67%, 73%)
CMYKcmyk(0%, 67.2%, 64.5%, 27.1%)
CIE-LABlab(44.48, 50.45, 25.39)
CIE-LCHlch(44.48, 56.48, 26.71°)
OKLaboklab(54.09% 0.1489 0.0604)
OKLCHoklch(54.09% 0.161 22.1)
XYZxyz(22.9041, 14.1732, 6.6828)
Luminance0.1417 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3D42 #3DBAB5
analogous
#BA3D80 #BA3D42 #BA763D
triadic
#BA3D42 #42BA3D #3D42BA
tetradic
#BA3D42 #80BA3D #3DBAB5 #763DBA
square
#BA3D42 #80BA3D #3DBAB5 #763DBA
split-complementary
#BA3D42 #3DBA76 #3D80BA
monochromatic
#5E1F21 #8C2E32 #BA3D42 #CD676B #DC9598

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3D42#FFFFFF#000000##FFFFFF
##BA3D421.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)
#5E5841
Deuteranopia (green-blind)
#7E733F
Tritanopia (blue-blind)
#CC1E40
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba3d42;
/* rgb */ color: rgb(186, 61, 66);
/* oklch */ color: oklch(54.1% 0.161 22.1);
Tailwind
colors: {
  custom: {
    50: '#d67a76',
    500: '#ba3d42',
    950: '#000000',
  },
}
SCSS
$custom: #ba3d42;
$custom-light: #d67a76;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3d42",
  "rgb": {
    "r": 186,
    "g": 61,
    "b": 66
  },
  "hsl": {
    "h": 357.6,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54087,
    "c": 0.16065,
    "h": 22.1
  },
  "luminance": 0.1417
}

Semantic roles & 50–950 ramp

primary
#BA3D42
secondary
#8BC8C5
accent
#DAD44E
background
#FEF7F7
surface
#FCEEED
border
#D5C9C8
text
#160A08
muted
#847C7B

Preview Lab

Preview with #BA3D42

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

Preview Lab → · Contrast checker → · Palette generator →

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