#BA7271#BA7271

#BA7271 is a light, moderate red. Relative luminance 0.237; OKLCH L 62.9% C 0.092 H 20.8°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#BA7271
RGBrgb(186, 114, 113)
HSLhsl(1, 35%, 59%)
HSVhsv(1, 39%, 73%)
CMYKcmyk(0%, 38.7%, 39.2%, 27.1%)
CIE-LABlab(55.75, 28.28, 12.65)
CIE-LCHlch(55.75, 30.98, 24.09°)
OKLaboklab(62.94% 0.0855 0.0325)
OKLCHoklch(62.94% 0.092 20.8)
XYZxyz(29.2490, 23.6683, 18.6476)
Luminance0.2367 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7271 #71B9BA
analogous
#BA7194 #BA7271 #BA9671
triadic
#BA7271 #71BA72 #7271BA
tetradic
#BA7271 #94BA71 #71B9BA #9671BA
square
#BA7271 #94BA71 #71B9BA #9671BA
split-complementary
#BA7271 #71BA96 #7194BA
monochromatic
#773B3A #A04F4E #BA7271 #CE9B9A #E2C4C3

Accessibility & contrast

On white

3.66
#BA7271 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#BA7271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7271
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7271#FFFFFF#000000##000000
##BA72711.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#817D71
Deuteranopia (green-blind)
#928B70
Tritanopia (blue-blind)
#C76972
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ba7271;
/* rgb */ color: rgb(186, 114, 113);
/* oklch */ color: oklch(62.9% 0.092 20.8);
Tailwind
colors: {
  custom: {
    50: '#d19b99',
    500: '#ba7271',
    950: '#000000',
  },
}
SCSS
$custom: #ba7271;
$custom-light: #d19b99;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7271",
  "rgb": {
    "r": 186,
    "g": 114,
    "b": 113
  },
  "hsl": {
    "h": 0.822,
    "s": 34.597,
    "l": 58.627
  },
  "oklch": {
    "l": 0.62937,
    "c": 0.09152,
    "h": 20.8
  },
  "luminance": 0.23666
}

Semantic roles & 50–950 ramp

primary
#BA7271
secondary
#B5D1D2
accent
#C9CB5D
background
#FDF9F9
surface
#FAF2F2
border
#D3CCCC
text
#140E0E
muted
#837E7E

Preview Lab

Preview with #BA7271

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

Preview Lab → · Contrast checker → · Palette generator →

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