#BA504F#BA504F

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

Color values

HEX#BA504F
RGBrgb(186, 80, 79)
HSLhsl(1, 44%, 52%)
HSVhsv(1, 58%, 73%)
CMYKcmyk(0%, 57%, 57.5%, 27.1%)
CIE-LABlab(47.94, 42.76, 22.04)
CIE-LCHlch(47.94, 48.11, 27.27°)
OKLaboklab(56.76% 0.1269 0.0539)
OKLCHoklch(56.76% 0.138 23)
XYZxyz(24.5317, 16.7439, 9.3357)
Luminance0.1674 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA504F #4FB9BA
analogous
#BA4F84 #BA504F #BA864F
triadic
#BA504F #4FBA50 #504FBA
tetradic
#BA504F #84BA4F #4FB9BA #864FBA
square
#BA504F #84BA4F #4FB9BA #864FBA
split-complementary
#BA504F #4FBA86 #4F84BA
monochromatic
#662928 #923A39 #BA504F #CB7C7B #DCA7A7

Accessibility & contrast

On white

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

On black

4.35
#BA504F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA504F#FFFFFF#000000##FFFFFF
##BA504F1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A644E
Deuteranopia (green-blind)
#847A4D
Tritanopia (blue-blind)
#CB3E51
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba504f;
/* rgb */ color: rgb(186, 80, 79);
/* oklch */ color: oklch(56.8% 0.138 23.0);
Tailwind
colors: {
  custom: {
    50: '#d48580',
    500: '#ba504f',
    950: '#000000',
  },
}
SCSS
$custom: #ba504f;
$custom-light: #d48580;
$custom-dark: #000000;
JSON
{
  "hex": "#ba504f",
  "rgb": {
    "r": 186,
    "g": 80,
    "b": 79
  },
  "hsl": {
    "h": 0.561,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.56758,
    "c": 0.13786,
    "h": 23
  },
  "luminance": 0.16741
}

Semantic roles & 50–950 ramp

primary
#BA504F
secondary
#9BC9CA
accent
#D2D354
background
#FDF8F7
surface
#FBEFEE
border
#D4CAC9
text
#150B0A
muted
#837C7C

Preview Lab

Preview with #BA504F

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

Preview Lab → · Contrast checker → · Palette generator →

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