#BA3742#BA3742

#BA3742 is a mid, vivid red. Relative luminance 0.136; OKLCH L 53.4% C 0.167 H 20.3°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#BA3742
RGBrgb(186, 55, 66)
HSLhsl(355, 54%, 47%)
HSVhsv(355, 70%, 73%)
CMYKcmyk(0%, 70.4%, 64.5%, 27.1%)
CIE-LABlab(43.61, 52.84, 24.28)
CIE-LCHlch(43.61, 58.15, 24.68°)
OKLaboklab(53.44% 0.1564 0.0579)
OKLCHoklch(53.44% 0.167 20.3)
XYZxyz(22.6016, 13.5681, 6.5820)
Luminance0.1356 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3742 #37BAAF
analogous
#BA3783 #BA3742 #BA6E37
triadic
#BA3742 #42BA37 #3742BA
tetradic
#BA3742 #83BA37 #37BAAF #6E37BA
square
#BA3742 #83BA37 #37BAAF #6E37BA
split-complementary
#BA3742 #37BA6E #3783BA
monochromatic
#5C1B20 #8B2931 #BA3742 #D05F68 #DE8E95

Accessibility & contrast

On white

5.66
#BA3742 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#BA3742 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3742
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3742#FFFFFF#000000##FFFFFF
##BA37421.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5541
Deuteranopia (green-blind)
#7C713E
Tritanopia (blue-blind)
#CC103C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba3742;
/* rgb */ color: rgb(186, 55, 66);
/* oklch */ color: oklch(53.4% 0.167 20.3);
Tailwind
colors: {
  custom: {
    50: '#d67776',
    500: '#ba3742',
    950: '#000000',
  },
}
SCSS
$custom: #ba3742;
$custom-light: #d67776;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3742",
  "rgb": {
    "r": 186,
    "g": 55,
    "b": 66
  },
  "hsl": {
    "h": 354.962,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53435,
    "c": 0.16682,
    "h": 20.3
  },
  "luminance": 0.13565
}

Semantic roles & 50–950 ramp

primary
#BA3742
secondary
#85C8C2
accent
#DED14A
background
#FEF7F7
surface
#FCEEED
border
#D5C9C8
text
#160908
muted
#847B7B

Preview Lab

Preview with #BA3742

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

Preview Lab → · Contrast checker → · Palette generator →

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