#BA5042#BA5042

#BA5042 is a mid, vivid red. Relative luminance 0.166; OKLCH L 56.5% C 0.140 H 29.7°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#BA5042
RGBrgb(186, 80, 66)
HSLhsl(7, 48%, 49%)
HSVhsv(7, 65%, 73%)
CMYKcmyk(0%, 57%, 64.5%, 27.1%)
CIE-LABlab(47.72, 41.84, 29.42)
CIE-LCHlch(47.72, 51.15, 35.11°)
OKLaboklab(56.52% 0.1218 0.0695)
OKLCHoklch(56.52% 0.14 29.7)
XYZxyz(24.1040, 16.5728, 7.0828)
Luminance0.1657 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5042 #42ACBA
analogous
#BA4270 #BA5042 #BA8C42
triadic
#BA5042 #42BA50 #5042BA
tetradic
#BA5042 #70BA42 #42ACBA #8C42BA
square
#BA5042 #70BA42 #42ACBA #8C42BA
split-complementary
#BA5042 #42BA8C #4270BA
monochromatic
#602922 #8D3D32 #BA5042 #CB796E #DBA29B

Accessibility & contrast

On white

4.87
#BA5042 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#BA5042 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA5042
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5042#FFFFFF#000000##FFFFFF
##BA50421.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6340
Deuteranopia (green-blind)
#867A3F
Tritanopia (blue-blind)
#CC3B4D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba5042;
/* rgb */ color: rgb(186, 80, 66);
/* oklch */ color: oklch(56.5% 0.140 29.7);
Tailwind
colors: {
  custom: {
    50: '#d58476',
    500: '#ba5042',
    950: '#000000',
  },
}
SCSS
$custom: #ba5042;
$custom-light: #d58476;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5042",
  "rgb": {
    "r": 186,
    "g": 80,
    "b": 66
  },
  "hsl": {
    "h": 7,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56522,
    "c": 0.14019,
    "h": 29.7
  },
  "luminance": 0.1657
}

Semantic roles & 50–950 ramp

primary
#BA5042
secondary
#90C1C8
accent
#C8D751
background
#FDF8F7
surface
#FBEFED
border
#D4CAC8
text
#150B08
muted
#837C7B

Preview Lab

Preview with #BA5042

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

Preview Lab → · Contrast checker → · Palette generator →

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