#BA4F4E#BA4F4E

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

Color values

HEX#BA4F4E
RGBrgb(186, 79, 78)
HSLhsl(1, 44%, 52%)
HSVhsv(1, 58%, 73%)
CMYKcmyk(0%, 57.5%, 58.1%, 27.1%)
CIE-LABlab(47.73, 43.17, 22.37)
CIE-LCHlch(47.73, 48.62, 27.39°)
OKLaboklab(56.6% 0.128 0.0546)
OKLCHoklch(56.6% 0.139 23.1)
XYZxyz(24.4229, 16.5841, 9.1212)
Luminance0.1658 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4F4E #4EB9BA
analogous
#BA4E83 #BA4F4E #BA854E
triadic
#BA4F4E #4EBA4F #4F4EBA
tetradic
#BA4F4E #83BA4E #4EB9BA #854EBA
square
#BA4F4E #83BA4E #4EB9BA #854EBA
split-complementary
#BA4F4E #4EBA85 #4E83BA
monochromatic
#662828 #923A39 #BA4F4E #CB7B7A #DCA7A6

Accessibility & contrast

On white

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

On black

4.32
#BA4F4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA4F4E#FFFFFF#000000##FFFFFF
##BA4F4E1.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#69634D
Deuteranopia (green-blind)
#847A4C
Tritanopia (blue-blind)
#CB3C50
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba4f4e;
/* rgb */ color: rgb(186, 79, 78);
/* oklch */ color: oklch(56.6% 0.139 23.1);
Tailwind
colors: {
  custom: {
    50: '#d4847f',
    500: '#ba4f4e',
    950: '#000000',
  },
}
SCSS
$custom: #ba4f4e;
$custom-light: #d4847f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4f4e",
  "rgb": {
    "r": 186,
    "g": 79,
    "b": 78
  },
  "hsl": {
    "h": 0.556,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.56598,
    "c": 0.13916,
    "h": 23.1
  },
  "luminance": 0.16581
}

Semantic roles & 50–950 ramp

primary
#BA4F4E
secondary
#9AC9CA
accent
#D2D454
background
#FDF8F7
surface
#FBEFEE
border
#D4CAC9
text
#150B0A
muted
#837C7C

Preview Lab

Preview with #BA4F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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