#BA4A4E#BA4A4E

#BA4A4E is a mid, vivid red. Relative luminance 0.159; OKLCH L 55.9% C 0.145 H 21.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#BA4A4E
RGBrgb(186, 74, 78)
HSLhsl(358, 45%, 51%)
HSVhsv(358, 60%, 73%)
CMYKcmyk(0%, 60.2%, 58.1%, 27.1%)
CIE-LABlab(46.83, 45.54, 21.19)
CIE-LCHlch(46.83, 50.23, 24.95°)
OKLaboklab(55.92% 0.1355 0.0519)
OKLCHoklch(55.92% 0.145 21)
XYZxyz(24.0758, 15.8898, 9.0055)
Luminance0.1589 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4A4E #4ABAB6
analogous
#BA4A86 #BA4A4E #BA7E4A
triadic
#BA4A4E #4EBA4A #4A4EBA
tetradic
#BA4A4E #86BA4A #4ABAB6 #7E4ABA
square
#BA4A4E #86BA4A #4ABAB6 #7E4ABA
split-complementary
#BA4A4E #4ABA7E #4A86BA
monochromatic
#642628 #90373A #BA4A4E #CB7679 #DCA3A5

Accessibility & contrast

On white

5.03
#BA4A4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#BA4A4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4A4E
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4A4E#FFFFFF#000000##FFFFFF
##BA4A4E1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65604D
Deuteranopia (green-blind)
#82784B
Tritanopia (blue-blind)
#CB364C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba4a4e;
/* rgb */ color: rgb(186, 74, 78);
/* oklch */ color: oklch(55.9% 0.145 21.0);
Tailwind
colors: {
  custom: {
    50: '#d4817f',
    500: '#ba4a4e',
    950: '#000000',
  },
}
SCSS
$custom: #ba4a4e;
$custom-light: #d4817f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4a4e",
  "rgb": {
    "r": 186,
    "g": 74,
    "b": 78
  },
  "hsl": {
    "h": 357.857,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55919,
    "c": 0.14506,
    "h": 21
  },
  "luminance": 0.15887
}

Semantic roles & 50–950 ramp

primary
#BA4A4E
secondary
#97C9C7
accent
#D5D053
background
#FDF8F7
surface
#FBEFEE
border
#D4CAC9
text
#150B0A
muted
#837C7C

Preview Lab

Preview with #BA4A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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