#BA5142#BA5142

#BA5142 is a mid, vivid red. Relative luminance 0.167; OKLCH L 56.7% C 0.139 H 30.2°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#BA5142
RGBrgb(186, 81, 66)
HSLhsl(8, 48%, 49%)
HSVhsv(8, 65%, 73%)
CMYKcmyk(0%, 56.5%, 64.5%, 27.1%)
CIE-LABlab(47.91, 41.35, 29.65)
CIE-LCHlch(47.91, 50.89, 35.65°)
OKLaboklab(56.67% 0.1202 0.07)
OKLCHoklch(56.67% 0.139 30.2)
XYZxyz(24.1777, 16.7204, 7.1074)
Luminance0.1672 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5142 #42ABBA
analogous
#BA426F #BA5142 #BA8D42
triadic
#BA5142 #42BA51 #5142BA
tetradic
#BA5142 #6FBA42 #42ABBA #8D42BA
square
#BA5142 #6FBA42 #42ABBA #8D42BA
split-complementary
#BA5142 #42BA8D #426FBA
monochromatic
#602A22 #8D3D32 #BA5142 #CB796E #DBA39B

Accessibility & contrast

On white

4.83
#BA5142 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#BA5142 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA5142
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5142#FFFFFF#000000##FFFFFF
##BA51421.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6440
Deuteranopia (green-blind)
#867A40
Tritanopia (blue-blind)
#CB3D4E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba5142;
/* rgb */ color: rgb(186, 81, 66);
/* oklch */ color: oklch(56.7% 0.139 30.2);
Tailwind
colors: {
  custom: {
    50: '#d58576',
    500: '#ba5142',
    950: '#000000',
  },
}
SCSS
$custom: #ba5142;
$custom-light: #d58576;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5142",
  "rgb": {
    "r": 186,
    "g": 81,
    "b": 66
  },
  "hsl": {
    "h": 7.5,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56665,
    "c": 0.13912,
    "h": 30.2
  },
  "luminance": 0.16717
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA5142

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

Preview Lab → · Contrast checker → · Palette generator →

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