#BA4F4D#BA4F4D

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

Color values

HEX#BA4F4D
RGBrgb(186, 79, 77)
HSLhsl(1, 44%, 52%)
HSVhsv(1, 59%, 73%)
CMYKcmyk(0%, 57.5%, 58.6%, 27.1%)
CIE-LABlab(47.71, 43.09, 22.94)
CIE-LCHlch(47.71, 48.82, 28.03°)
OKLaboklab(56.58% 0.1276 0.0559)
OKLCHoklch(56.58% 0.139 23.6)
XYZxyz(24.3874, 16.5699, 8.9338)
Luminance0.1657 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4F4D #4DB8BA
analogous
#BA4D82 #BA4F4D #BA864D
triadic
#BA4F4D #4DBA4F #4F4DBA
tetradic
#BA4F4D #82BA4D #4DB8BA #864DBA
square
#BA4F4D #82BA4D #4DB8BA #864DBA
split-complementary
#BA4F4D #4DBA86 #4D82BA
monochromatic
#652827 #913A38 #BA4F4D #CB7B79 #DCA6A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA4F4D#FFFFFF#000000##FFFFFF
##BA4F4D1.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)
#69634C
Deuteranopia (green-blind)
#847A4B
Tritanopia (blue-blind)
#CB3C4F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba4f4d;
/* rgb */ color: rgb(186, 79, 77);
/* oklch */ color: oklch(56.6% 0.139 23.6);
Tailwind
colors: {
  custom: {
    50: '#d4847e',
    500: '#ba4f4d',
    950: '#000000',
  },
}
SCSS
$custom: #ba4f4d;
$custom-light: #d4847e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4f4d",
  "rgb": {
    "r": 186,
    "g": 79,
    "b": 77
  },
  "hsl": {
    "h": 1.101,
    "s": 44.13,
    "l": 51.569
  },
  "oklch": {
    "l": 0.56578,
    "c": 0.13929,
    "h": 23.6
  },
  "luminance": 0.16567
}

Semantic roles & 50–950 ramp

primary
#BA4F4D
secondary
#99C8C9
accent
#D2D454
background
#FDF8F7
surface
#FBEFEE
border
#D4CAC9
text
#150B0A
muted
#837C7C

Preview Lab

Preview with #BA4F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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