#795157#795157

#795157 is a mid, muted red. Relative luminance 0.106; OKLCH L 48.1% C 0.054 H 9.4°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#795157
RGBrgb(121, 81, 87)
HSLhsl(351, 20%, 40%)
HSVhsv(351, 33%, 47%)
CMYKcmyk(0%, 33.1%, 28.1%, 52.5%)
CIE-LABlab(38.97, 17.68, 3.32)
CIE-LCHlch(38.97, 17.99, 10.65°)
OKLaboklab(48.06% 0.0536 0.0089)
OKLCHoklch(48.06% 0.054 9.4)
XYZxyz(12.5482, 10.6387, 10.4075)
Luminance0.1064 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795157 #517973
analogous
#79516B #795157 #795F51
triadic
#795157 #577951 #515779
tetradic
#795157 #6B7951 #517973 #5F5179
square
#795157 #6B7951 #517973 #5F5179
split-complementary
#795157 #51795F #516B79
monochromatic
#302022 #54383D #795157 #9C6B72 #B59095

Accessibility & contrast

On white

6.71
#795157 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#795157 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795157
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795157#FFFFFF#000000##FFFFFF
##7951571.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575757
Deuteranopia (green-blind)
#615F56
Tritanopia (blue-blind)
#804E53
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #795157;
/* rgb */ color: rgb(121, 81, 87);
/* oklch */ color: oklch(48.1% 0.054 9.4);
Tailwind
colors: {
  custom: {
    50: '#a18286',
    500: '#795157',
    950: '#000000',
  },
}
SCSS
$custom: #795157;
$custom-light: #a18286;
$custom-dark: #000000;
JSON
{
  "hex": "#795157",
  "rgb": {
    "r": 121,
    "g": 81,
    "b": 87
  },
  "hsl": {
    "h": 351,
    "s": 19.802,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48062,
    "c": 0.05432,
    "h": 9.4
  },
  "luminance": 0.10638
}

Semantic roles & 50–950 ramp

primary
#795157
secondary
#84A29D
accent
#BCB06B
background
#FAF7F8
surface
#F3EEEF
border
#CDC9CA
text
#0F0A0B
muted
#7F7C7C

Preview Lab

Preview with #795157

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

Preview Lab → · Contrast checker → · Palette generator →

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